home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / AIncludes / LowMem.a < prev    next >
Text File  |  1996-05-01  |  76KB  |  4,352 lines

  1. ;
  2. ;    File:        LowMem.a
  3. ;
  4. ;    Contains:    Low Memory Accessor Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Release:    Universal Interfaces 3.0d3 on Copland DR1
  8. ;
  9. ;    Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10. ;
  11. ;    Bugs?:        If you find a problem with this file, send the file and version
  12. ;                information (from above) and the problem description to:
  13. ;
  14. ;                    Internet:    apple.bugs@applelink.apple.com
  15. ;                    AppleLink:    APPLE.BUGS
  16. ;
  17. ;
  18.     IF &TYPE('__LOWMEM__') = 'UNDEFINED' THEN
  19. __LOWMEM__ SET 1
  20.  
  21.     IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
  22.     include 'Types.a'
  23.     ENDIF
  24.     IF &TYPE('__CONTROLS__') = 'UNDEFINED' THEN
  25.     include 'Controls.a'
  26.     ENDIF
  27.     IF &TYPE('__EVENTS__') = 'UNDEFINED' THEN
  28.     include 'Events.a'
  29.     ENDIF
  30.     IF &TYPE('__FILES__') = 'UNDEFINED' THEN
  31.     include 'Files.a'
  32.     ENDIF
  33.     IF &TYPE('__FONTS__') = 'UNDEFINED' THEN
  34.     include 'Fonts.a'
  35.     ENDIF
  36.     IF &TYPE('__MEMORY__') = 'UNDEFINED' THEN
  37.     include 'Memory.a'
  38.     ENDIF
  39.     IF &TYPE('__MENUS__') = 'UNDEFINED' THEN
  40.     include 'Menus.a'
  41.     ENDIF
  42.     IF &TYPE('__OSUTILS__') = 'UNDEFINED' THEN
  43.     include 'OSUtils.a'
  44.     ENDIF
  45.     IF &TYPE('__QUICKDRAW__') = 'UNDEFINED' THEN
  46.     include 'Quickdraw.a'
  47.     ENDIF
  48.     IF &TYPE('__RESOURCES__') = 'UNDEFINED' THEN
  49.     include 'Resources.a'
  50.     ENDIF
  51.     IF &TYPE('__WINDOWS__') = 'UNDEFINED' THEN
  52.     include 'Windows.a'
  53.     ENDIF
  54.     IF FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED THEN
  55. ;
  56. ;*************************************************************************************
  57. ;
  58. ;    SIMPLE LOWMEM ACCESSORS
  59. ;
  60. ;*************************************************************************************
  61. ;
  62. ;
  63. ; pascal SInt16 LMGetScrVRes(void)
  64. ;
  65.     IF ¨ GENERATINGCFM THEN
  66.         Macro
  67.         _LMGetScrVRes         &dest=(sp)
  68.             move.w            $0102,&dest
  69.         EndM
  70.     ELSE
  71.         IMPORT_CFM_FUNCTION LMGetScrVRes
  72.     ENDIF
  73.  
  74. ;
  75. ; pascal void LMSetScrVRes(SInt16 value)
  76. ;
  77.     IF ¨ GENERATINGCFM THEN
  78.         Macro
  79.         _LMSetScrVRes         &src=(sp)+
  80.             move.w            &src,$0102
  81.         EndM
  82.     ELSE
  83.         IMPORT_CFM_FUNCTION LMSetScrVRes
  84.     ENDIF
  85.  
  86. ;
  87. ; pascal SInt16 LMGetScrHRes(void)
  88. ;
  89.     IF ¨ GENERATINGCFM THEN
  90.         Macro
  91.         _LMGetScrHRes         &dest=(sp)
  92.             move.w            $0104,&dest
  93.         EndM
  94.     ELSE
  95.         IMPORT_CFM_FUNCTION LMGetScrHRes
  96.     ENDIF
  97.  
  98. ;
  99. ; pascal void LMSetScrHRes(SInt16 value)
  100. ;
  101.     IF ¨ GENERATINGCFM THEN
  102.         Macro
  103.         _LMSetScrHRes         &src=(sp)+
  104.             move.w            &src,$0104
  105.         EndM
  106.     ELSE
  107.         IMPORT_CFM_FUNCTION LMSetScrHRes
  108.     ENDIF
  109.  
  110. ;
  111. ; pascal Ptr LMGetMemTop(void)
  112. ;
  113.     IF ¨ GENERATINGCFM THEN
  114.         Macro
  115.         _LMGetMemTop          &dest=(sp)
  116.             move.l            $0108,&dest
  117.         EndM
  118.     ELSE
  119.         IMPORT_CFM_FUNCTION LMGetMemTop
  120.     ENDIF
  121.  
  122. ;
  123. ; pascal void LMSetMemTop(Ptr value)
  124. ;
  125.     IF ¨ GENERATINGCFM THEN
  126.         Macro
  127.         _LMSetMemTop          &src=(sp)+
  128.             move.l            &src,$0108
  129.         EndM
  130.     ELSE
  131.         IMPORT_CFM_FUNCTION LMSetMemTop
  132.     ENDIF
  133.  
  134. ;
  135. ; pascal Ptr LMGetBufPtr(void)
  136. ;
  137.     IF ¨ GENERATINGCFM THEN
  138.         Macro
  139.         _LMGetBufPtr          &dest=(sp)
  140.             move.l            $010C,&dest
  141.         EndM
  142.     ELSE
  143.         IMPORT_CFM_FUNCTION LMGetBufPtr
  144.     ENDIF
  145.  
  146. ;
  147. ; pascal void LMSetBufPtr(Ptr value)
  148. ;
  149.     IF ¨ GENERATINGCFM THEN
  150.         Macro
  151.         _LMSetBufPtr          &src=(sp)+
  152.             move.l            &src,$010C
  153.         EndM
  154.     ELSE
  155.         IMPORT_CFM_FUNCTION LMSetBufPtr
  156.     ENDIF
  157.  
  158. ;
  159. ; pascal Ptr LMGetHeapEnd(void)
  160. ;
  161.     IF ¨ GENERATINGCFM THEN
  162.         Macro
  163.         _LMGetHeapEnd         &dest=(sp)
  164.             move.l            $0114,&dest
  165.         EndM
  166.     ELSE
  167.         IMPORT_CFM_FUNCTION LMGetHeapEnd
  168.     ENDIF
  169.  
  170. ;
  171. ; pascal void LMSetHeapEnd(Ptr value)
  172. ;
  173.     IF ¨ GENERATINGCFM THEN
  174.         Macro
  175.         _LMSetHeapEnd         &src=(sp)+
  176.             move.l            &src,$0114
  177.         EndM
  178.     ELSE
  179.         IMPORT_CFM_FUNCTION LMSetHeapEnd
  180.     ENDIF
  181.  
  182. ;
  183. ; pascal THz LMGetTheZone(void)
  184. ;
  185.     IF ¨ GENERATINGCFM THEN
  186.         Macro
  187.         _LMGetTheZone         &dest=(sp)
  188.             move.l            $0118,&dest
  189.         EndM
  190.     ELSE
  191.         IMPORT_CFM_FUNCTION LMGetTheZone
  192.     ENDIF
  193.  
  194. ;
  195. ; pascal void LMSetTheZone(THz value)
  196. ;
  197.     IF ¨ GENERATINGCFM THEN
  198.         Macro
  199.         _LMSetTheZone         &src=(sp)+
  200.             move.l            &src,$0118
  201.         EndM
  202.     ELSE
  203.         IMPORT_CFM_FUNCTION LMSetTheZone
  204.     ENDIF
  205.  
  206. ;
  207. ; pascal Ptr LMGetUTableBase(void)
  208. ;
  209.     IF ¨ GENERATINGCFM THEN
  210.         Macro
  211.         _LMGetUTableBase      &dest=(sp)
  212.             move.l            $011C,&dest
  213.         EndM
  214.     ELSE
  215.         IMPORT_CFM_FUNCTION LMGetUTableBase
  216.     ENDIF
  217.  
  218. ;
  219. ; pascal void LMSetUTableBase(Ptr value)
  220. ;
  221.     IF ¨ GENERATINGCFM THEN
  222.         Macro
  223.         _LMSetUTableBase      &src=(sp)+
  224.             move.l            &src,$011C
  225.         EndM
  226.     ELSE
  227.         IMPORT_CFM_FUNCTION LMSetUTableBase
  228.     ENDIF
  229.  
  230. ;
  231. ; pascal UInt8 LMGetCPUFlag(void)
  232. ;
  233.     IF ¨ GENERATINGCFM THEN
  234.         Macro
  235.         _LMGetCPUFlag         &dest=(sp)
  236.             move.b            $012F,&dest
  237.         EndM
  238.     ELSE
  239.         IMPORT_CFM_FUNCTION LMGetCPUFlag
  240.     ENDIF
  241.  
  242. ;
  243. ; pascal void LMSetCPUFlag(UInt8 value)
  244. ;
  245.     IF ¨ GENERATINGCFM THEN
  246.         Macro
  247.         _LMSetCPUFlag         &src=(sp)+
  248.             move.b            &src,$012F
  249.         EndM
  250.     ELSE
  251.         IMPORT_CFM_FUNCTION LMSetCPUFlag
  252.     ENDIF
  253.  
  254. ;
  255. ; pascal Ptr LMGetApplLimit(void)
  256. ;
  257.     IF ¨ GENERATINGCFM THEN
  258.         Macro
  259.         _LMGetApplLimit       &dest=(sp)
  260.             move.l            $0130,&dest
  261.         EndM
  262.     ELSE
  263.         IMPORT_CFM_FUNCTION LMGetApplLimit
  264.     ENDIF
  265.  
  266. ;
  267. ; pascal void LMSetApplLimit(Ptr value)
  268. ;
  269.     IF ¨ GENERATINGCFM THEN
  270.         Macro
  271.         _LMSetApplLimit       &src=(sp)+
  272.             move.l            &src,$0130
  273.         EndM
  274.     ELSE
  275.         IMPORT_CFM_FUNCTION LMSetApplLimit
  276.     ENDIF
  277.  
  278. ;
  279. ; pascal SInt16 LMGetSysEvtMask(void)
  280. ;
  281.     IF ¨ GENERATINGCFM THEN
  282.         Macro
  283.         _LMGetSysEvtMask      &dest=(sp)
  284.             move.w            $0144,&dest
  285.         EndM
  286.     ELSE
  287.         IMPORT_CFM_FUNCTION LMGetSysEvtMask
  288.     ENDIF
  289.  
  290. ;
  291. ; pascal void LMSetSysEvtMask(SInt16 value)
  292. ;
  293.     IF ¨ GENERATINGCFM THEN
  294.         Macro
  295.         _LMSetSysEvtMask      &src=(sp)+
  296.             move.w            &src,$0144
  297.         EndM
  298.     ELSE
  299.         IMPORT_CFM_FUNCTION LMSetSysEvtMask
  300.     ENDIF
  301.  
  302. ;
  303. ; pascal SInt32 LMGetRndSeed(void)
  304. ;
  305.     IF ¨ GENERATINGCFM THEN
  306.         Macro
  307.         _LMGetRndSeed         &dest=(sp)
  308.             move.l            $0156,&dest
  309.         EndM
  310.     ELSE
  311.         IMPORT_CFM_FUNCTION LMGetRndSeed
  312.     ENDIF
  313.  
  314. ;
  315. ; pascal void LMSetRndSeed(SInt32 value)
  316. ;
  317.     IF ¨ GENERATINGCFM THEN
  318.         Macro
  319.         _LMSetRndSeed         &src=(sp)+
  320.             move.l            &src,$0156
  321.         EndM
  322.     ELSE
  323.         IMPORT_CFM_FUNCTION LMSetRndSeed
  324.     ENDIF
  325.  
  326. ;
  327. ; pascal UInt8 LMGetSEvtEnb(void)
  328. ;
  329.     IF ¨ GENERATINGCFM THEN
  330.         Macro
  331.         _LMGetSEvtEnb         &dest=(sp)
  332.             move.b            $015C,&dest
  333.         EndM
  334.     ELSE
  335.         IMPORT_CFM_FUNCTION LMGetSEvtEnb
  336.     ENDIF
  337.  
  338. ;
  339. ; pascal void LMSetSEvtEnb(UInt8 value)
  340. ;
  341.     IF ¨ GENERATINGCFM THEN
  342.         Macro
  343.         _LMSetSEvtEnb         &src=(sp)+
  344.             move.b            &src,$015C
  345.         EndM
  346.     ELSE
  347.         IMPORT_CFM_FUNCTION LMSetSEvtEnb
  348.     ENDIF
  349.  
  350. ;
  351. ; pascal UInt32 LMGetTicks(void)
  352. ;
  353.     IF ¨ GENERATINGCFM THEN
  354.         Macro
  355.         _LMGetTicks           &dest=(sp)
  356.             move.l            $016A,&dest
  357.         EndM
  358.     ELSE
  359.         IMPORT_CFM_FUNCTION LMGetTicks
  360.     ENDIF
  361.  
  362. ;
  363. ; pascal void LMSetTicks(UInt32 value)
  364. ;
  365.     IF ¨ GENERATINGCFM THEN
  366.         Macro
  367.         _LMSetTicks           &src=(sp)+
  368.             move.l            &src,$016A
  369.         EndM
  370.     ELSE
  371.         IMPORT_CFM_FUNCTION LMSetTicks
  372.     ENDIF
  373.  
  374. ;
  375. ; pascal SInt16 LMGetKeyThresh(void)
  376. ;
  377.     IF ¨ GENERATINGCFM THEN
  378.         Macro
  379.         _LMGetKeyThresh       &dest=(sp)
  380.             move.w            $018E,&dest
  381.         EndM
  382.     ELSE
  383.         IMPORT_CFM_FUNCTION LMGetKeyThresh
  384.     ENDIF
  385.  
  386. ;
  387. ; pascal void LMSetKeyThresh(SInt16 value)
  388. ;
  389.     IF ¨ GENERATINGCFM THEN
  390.         Macro
  391.         _LMSetKeyThresh       &src=(sp)+
  392.             move.w            &src,$018E
  393.         EndM
  394.     ELSE
  395.         IMPORT_CFM_FUNCTION LMSetKeyThresh
  396.     ENDIF
  397.  
  398. ;
  399. ; pascal SInt16 LMGetKeyRepThresh(void)
  400. ;
  401.     IF ¨ GENERATINGCFM THEN
  402.         Macro
  403.         _LMGetKeyRepThresh    &dest=(sp)
  404.             move.w            $0190,&dest
  405.         EndM
  406.     ELSE
  407.         IMPORT_CFM_FUNCTION LMGetKeyRepThresh
  408.     ENDIF
  409.  
  410. ;
  411. ; pascal void LMSetKeyRepThresh(SInt16 value)
  412. ;
  413.     IF ¨ GENERATINGCFM THEN
  414.         Macro
  415.         _LMSetKeyRepThresh    &src=(sp)+
  416.             move.w            &src,$0190
  417.         EndM
  418.     ELSE
  419.         IMPORT_CFM_FUNCTION LMSetKeyRepThresh
  420.     ENDIF
  421.  
  422. ;
  423. ; pascal SInt16 LMGetUnitTableEntryCount(void)
  424. ;
  425.     IF ¨ GENERATINGCFM THEN
  426.         Macro
  427.         _LMGetUnitTableEntryCount &dest=(sp)
  428.             move.w            $01D2,&dest
  429.         EndM
  430.     ELSE
  431.         IMPORT_CFM_FUNCTION LMGetUnitTableEntryCount
  432.     ENDIF
  433.  
  434. ;
  435. ; pascal void LMSetUnitTableEntryCount(SInt16 value)
  436. ;
  437.     IF ¨ GENERATINGCFM THEN
  438.         Macro
  439.         _LMSetUnitTableEntryCount &src=(sp)+
  440.             move.w            &src,$01D2
  441.         EndM
  442.     ELSE
  443.         IMPORT_CFM_FUNCTION LMSetUnitTableEntryCount
  444.     ENDIF
  445.  
  446. ;
  447. ; pascal Ptr LMGetVIA(void)
  448. ;
  449.     IF ¨ GENERATINGCFM THEN
  450.         Macro
  451.         _LMGetVIA             &dest=(sp)
  452.             move.l            $01D4,&dest
  453.         EndM
  454.     ELSE
  455.         IMPORT_CFM_FUNCTION LMGetVIA
  456.     ENDIF
  457.  
  458. ;
  459. ; pascal void LMSetVIA(Ptr value)
  460. ;
  461.     IF ¨ GENERATINGCFM THEN
  462.         Macro
  463.         _LMSetVIA             &src=(sp)+
  464.             move.l            &src,$01D4
  465.         EndM
  466.     ELSE
  467.         IMPORT_CFM_FUNCTION LMSetVIA
  468.     ENDIF
  469.  
  470. ;
  471. ; pascal Ptr LMGetSCCRd(void)
  472. ;
  473.     IF ¨ GENERATINGCFM THEN
  474.         Macro
  475.         _LMGetSCCRd           &dest=(sp)
  476.             move.l            $01D8,&dest
  477.         EndM
  478.     ELSE
  479.         IMPORT_CFM_FUNCTION LMGetSCCRd
  480.     ENDIF
  481.  
  482. ;
  483. ; pascal void LMSetSCCRd(Ptr value)
  484. ;
  485.     IF ¨ GENERATINGCFM THEN
  486.         Macro
  487.         _LMSetSCCRd           &src=(sp)+
  488.             move.l            &src,$01D8
  489.         EndM
  490.     ELSE
  491.         IMPORT_CFM_FUNCTION LMSetSCCRd
  492.     ENDIF
  493.  
  494. ;
  495. ; pascal Ptr LMGetSCCWr(void)
  496. ;
  497.     IF ¨ GENERATINGCFM THEN
  498.         Macro
  499.         _LMGetSCCWr           &dest=(sp)
  500.             move.l            $01DC,&dest
  501.         EndM
  502.     ELSE
  503.         IMPORT_CFM_FUNCTION LMGetSCCWr
  504.     ENDIF
  505.  
  506. ;
  507. ; pascal void LMSetSCCWr(Ptr value)
  508. ;
  509.     IF ¨ GENERATINGCFM THEN
  510.         Macro
  511.         _LMSetSCCWr           &src=(sp)+
  512.             move.l            &src,$01DC
  513.         EndM
  514.     ELSE
  515.         IMPORT_CFM_FUNCTION LMSetSCCWr
  516.     ENDIF
  517.  
  518. ;
  519. ; pascal UInt8 LMGetSPValid(void)
  520. ;
  521.     IF ¨ GENERATINGCFM THEN
  522.         Macro
  523.         _LMGetSPValid         &dest=(sp)
  524.             move.b            $01F8,&dest
  525.         EndM
  526.     ELSE
  527.         IMPORT_CFM_FUNCTION LMGetSPValid
  528.     ENDIF
  529.  
  530. ;
  531. ; pascal void LMSetSPValid(UInt8 value)
  532. ;
  533.     IF ¨ GENERATINGCFM THEN
  534.         Macro
  535.         _LMSetSPValid         &src=(sp)+
  536.             move.b            &src,$01F8
  537.         EndM
  538.     ELSE
  539.         IMPORT_CFM_FUNCTION LMSetSPValid
  540.     ENDIF
  541.  
  542. ;
  543. ; pascal UInt8 LMGetSPATalkA(void)
  544. ;
  545.     IF ¨ GENERATINGCFM THEN
  546.         Macro
  547.         _LMGetSPATalkA        &dest=(sp)
  548.             move.b            $01F9,&dest
  549.         EndM
  550.     ELSE
  551.         IMPORT_CFM_FUNCTION LMGetSPATalkA
  552.     ENDIF
  553.  
  554. ;
  555. ; pascal void LMSetSPATalkA(UInt8 value)
  556. ;
  557.     IF ¨ GENERATINGCFM THEN
  558.         Macro
  559.         _LMSetSPATalkA        &src=(sp)+
  560.             move.b            &src,$01F9
  561.         EndM
  562.     ELSE
  563.         IMPORT_CFM_FUNCTION LMSetSPATalkA
  564.     ENDIF
  565.  
  566. ;
  567. ; pascal UInt8 LMGetSPATalkB(void)
  568. ;
  569.     IF ¨ GENERATINGCFM THEN
  570.         Macro
  571.         _LMGetSPATalkB        &dest=(sp)
  572.             move.b            $01FA,&dest
  573.         EndM
  574.     ELSE
  575.         IMPORT_CFM_FUNCTION LMGetSPATalkB
  576.     ENDIF
  577.  
  578. ;
  579. ; pascal void LMSetSPATalkB(UInt8 value)
  580. ;
  581.     IF ¨ GENERATINGCFM THEN
  582.         Macro
  583.         _LMSetSPATalkB        &src=(sp)+
  584.             move.b            &src,$01FA
  585.         EndM
  586.     ELSE
  587.         IMPORT_CFM_FUNCTION LMSetSPATalkB
  588.     ENDIF
  589.  
  590. ;
  591. ; pascal UInt8 LMGetSPConfig(void)
  592. ;
  593.     IF ¨ GENERATINGCFM THEN
  594.         Macro
  595.         _LMGetSPConfig        &dest=(sp)
  596.             move.b            $01FB,&dest
  597.         EndM
  598.     ELSE
  599.         IMPORT_CFM_FUNCTION LMGetSPConfig
  600.     ENDIF
  601.  
  602. ;
  603. ; pascal void LMSetSPConfig(UInt8 value)
  604. ;
  605.     IF ¨ GENERATINGCFM THEN
  606.         Macro
  607.         _LMSetSPConfig        &src=(sp)+
  608.             move.b            &src,$01FB
  609.         EndM
  610.     ELSE
  611.         IMPORT_CFM_FUNCTION LMSetSPConfig
  612.     ENDIF
  613.  
  614. ;
  615. ; pascal SInt16 LMGetSPPortA(void)
  616. ;
  617.     IF ¨ GENERATINGCFM THEN
  618.         Macro
  619.         _LMGetSPPortA         &dest=(sp)
  620.             move.w            $01FC,&dest
  621.         EndM
  622.     ELSE
  623.         IMPORT_CFM_FUNCTION LMGetSPPortA
  624.     ENDIF
  625.  
  626. ;
  627. ; pascal void LMSetSPPortA(SInt16 value)
  628. ;
  629.     IF ¨ GENERATINGCFM THEN
  630.         Macro
  631.         _LMSetSPPortA         &src=(sp)+
  632.             move.w            &src,$01FC
  633.         EndM
  634.     ELSE
  635.         IMPORT_CFM_FUNCTION LMSetSPPortA
  636.     ENDIF
  637.  
  638. ;
  639. ; pascal SInt16 LMGetSPPortB(void)
  640. ;
  641.     IF ¨ GENERATINGCFM THEN
  642.         Macro
  643.         _LMGetSPPortB         &dest=(sp)
  644.             move.w            $01FE,&dest
  645.         EndM
  646.     ELSE
  647.         IMPORT_CFM_FUNCTION LMGetSPPortB
  648.     ENDIF
  649.  
  650. ;
  651. ; pascal void LMSetSPPortB(SInt16 value)
  652. ;
  653.     IF ¨ GENERATINGCFM THEN
  654.         Macro
  655.         _LMSetSPPortB         &src=(sp)+
  656.             move.w            &src,$01FE
  657.         EndM
  658.     ELSE
  659.         IMPORT_CFM_FUNCTION LMSetSPPortB
  660.     ENDIF
  661.  
  662. ;
  663. ; pascal SInt32 LMGetSPAlarm(void)
  664. ;
  665.     IF ¨ GENERATINGCFM THEN
  666.         Macro
  667.         _LMGetSPAlarm         &dest=(sp)
  668.             move.l            $0200,&dest
  669.         EndM
  670.     ELSE
  671.         IMPORT_CFM_FUNCTION LMGetSPAlarm
  672.     ENDIF
  673.  
  674. ;
  675. ; pascal void LMSetSPAlarm(SInt32 value)
  676. ;
  677.     IF ¨ GENERATINGCFM THEN
  678.         Macro
  679.         _LMSetSPAlarm         &src=(sp)+
  680.             move.l            &src,$0200
  681.         EndM
  682.     ELSE
  683.         IMPORT_CFM_FUNCTION LMSetSPAlarm
  684.     ENDIF
  685.  
  686. ;
  687. ; pascal SInt16 LMGetSPFont(void)
  688. ;
  689.     IF ¨ GENERATINGCFM THEN
  690.         Macro
  691.         _LMGetSPFont          &dest=(sp)
  692.             move.w            $0204,&dest
  693.         EndM
  694.     ELSE
  695.         IMPORT_CFM_FUNCTION LMGetSPFont
  696.     ENDIF
  697.  
  698. ;
  699. ; pascal void LMSetSPFont(SInt16 value)
  700. ;
  701.     IF ¨ GENERATINGCFM THEN
  702.         Macro
  703.         _LMSetSPFont          &src=(sp)+
  704.             move.w            &src,$0204
  705.         EndM
  706.     ELSE
  707.         IMPORT_CFM_FUNCTION LMSetSPFont
  708.     ENDIF
  709.  
  710. ;
  711. ; pascal UInt8 LMGetSPKbd(void)
  712. ;
  713.     IF ¨ GENERATINGCFM THEN
  714.         Macro
  715.         _LMGetSPKbd           &dest=(sp)
  716.             move.b            $0206,&dest
  717.         EndM
  718.     ELSE
  719.         IMPORT_CFM_FUNCTION LMGetSPKbd
  720.     ENDIF
  721.  
  722. ;
  723. ; pascal void LMSetSPKbd(UInt8 value)
  724. ;
  725.     IF ¨ GENERATINGCFM THEN
  726.         Macro
  727.         _LMSetSPKbd           &src=(sp)+
  728.             move.b            &src,$0206
  729.         EndM
  730.     ELSE
  731.         IMPORT_CFM_FUNCTION LMSetSPKbd
  732.     ENDIF
  733.  
  734. ;
  735. ; pascal UInt8 LMGetSPPrint(void)
  736. ;
  737.     IF ¨ GENERATINGCFM THEN
  738.         Macro
  739.         _LMGetSPPrint         &dest=(sp)
  740.             move.b            $0207,&dest
  741.         EndM
  742.     ELSE
  743.         IMPORT_CFM_FUNCTION LMGetSPPrint
  744.     ENDIF
  745.  
  746. ;
  747. ; pascal void LMSetSPPrint(UInt8 value)
  748. ;
  749.     IF ¨ GENERATINGCFM THEN
  750.         Macro
  751.         _LMSetSPPrint         &src=(sp)+
  752.             move.b            &src,$0207
  753.         EndM
  754.     ELSE
  755.         IMPORT_CFM_FUNCTION LMSetSPPrint
  756.     ENDIF
  757.  
  758. ;
  759. ; pascal UInt8 LMGetSPVolCtl(void)
  760. ;
  761.     IF ¨ GENERATINGCFM THEN
  762.         Macro
  763.         _LMGetSPVolCtl        &dest=(sp)
  764.             move.b            $0208,&dest
  765.         EndM
  766.     ELSE
  767.         IMPORT_CFM_FUNCTION LMGetSPVolCtl
  768.     ENDIF
  769.  
  770. ;
  771. ; pascal void LMSetSPVolCtl(UInt8 value)
  772. ;
  773.     IF ¨ GENERATINGCFM THEN
  774.         Macro
  775.         _LMSetSPVolCtl        &src=(sp)+
  776.             move.b            &src,$0208
  777.         EndM
  778.     ELSE
  779.         IMPORT_CFM_FUNCTION LMSetSPVolCtl
  780.     ENDIF
  781.  
  782. ;
  783. ; pascal UInt8 LMGetSPClikCaret(void)
  784. ;
  785.     IF ¨ GENERATINGCFM THEN
  786.         Macro
  787.         _LMGetSPClikCaret     &dest=(sp)
  788.             move.b            $0209,&dest
  789.         EndM
  790.     ELSE
  791.         IMPORT_CFM_FUNCTION LMGetSPClikCaret
  792.     ENDIF
  793.  
  794. ;
  795. ; pascal void LMSetSPClikCaret(UInt8 value)
  796. ;
  797.     IF ¨ GENERATINGCFM THEN
  798.         Macro
  799.         _LMSetSPClikCaret     &src=(sp)+
  800.             move.b            &src,$0209
  801.         EndM
  802.     ELSE
  803.         IMPORT_CFM_FUNCTION LMSetSPClikCaret
  804.     ENDIF
  805.  
  806. ;
  807. ; pascal UInt8 LMGetSPMisc2(void)
  808. ;
  809.     IF ¨ GENERATINGCFM THEN
  810.         Macro
  811.         _LMGetSPMisc2         &dest=(sp)
  812.             move.b            $020B,&dest
  813.         EndM
  814.     ELSE
  815.         IMPORT_CFM_FUNCTION LMGetSPMisc2
  816.     ENDIF
  817.  
  818. ;
  819. ; pascal void LMSetSPMisc2(UInt8 value)
  820. ;
  821.     IF ¨ GENERATINGCFM THEN
  822.         Macro
  823.         _LMSetSPMisc2         &src=(sp)+
  824.             move.b            &src,$020B
  825.         EndM
  826.     ELSE
  827.         IMPORT_CFM_FUNCTION LMSetSPMisc2
  828.     ENDIF
  829.  
  830. ;
  831. ; pascal SInt32 LMGetTime(void)
  832. ;
  833.     IF ¨ GENERATINGCFM THEN
  834.         Macro
  835.         _LMGetTime            &dest=(sp)
  836.             move.l            $020C,&dest
  837.         EndM
  838.     ELSE
  839.         IMPORT_CFM_FUNCTION LMGetTime
  840.     ENDIF
  841.  
  842. ;
  843. ; pascal void LMSetTime(SInt32 value)
  844. ;
  845.     IF ¨ GENERATINGCFM THEN
  846.         Macro
  847.         _LMSetTime            &src=(sp)+
  848.             move.l            &src,$020C
  849.         EndM
  850.     ELSE
  851.         IMPORT_CFM_FUNCTION LMSetTime
  852.     ENDIF
  853.  
  854. ;
  855. ; pascal SInt16 LMGetBootDrive(void)
  856. ;
  857.     IF ¨ GENERATINGCFM THEN
  858.         Macro
  859.         _LMGetBootDrive       &dest=(sp)
  860.             move.w            $0210,&dest
  861.         EndM
  862.     ELSE
  863.         IMPORT_CFM_FUNCTION LMGetBootDrive
  864.     ENDIF
  865.  
  866. ;
  867. ; pascal void LMSetBootDrive(SInt16 value)
  868. ;
  869.     IF ¨ GENERATINGCFM THEN
  870.         Macro
  871.         _LMSetBootDrive       &src=(sp)+
  872.             move.w            &src,$0210
  873.         EndM
  874.     ELSE
  875.         IMPORT_CFM_FUNCTION LMSetBootDrive
  876.     ENDIF
  877.  
  878. ;
  879. ; pascal SInt16 LMGetSFSaveDisk(void)
  880. ;
  881.     IF ¨ GENERATINGCFM THEN
  882.         Macro
  883.         _LMGetSFSaveDisk      &dest=(sp)
  884.             move.w            $0214,&dest
  885.         EndM
  886.     ELSE
  887.         IMPORT_CFM_FUNCTION LMGetSFSaveDisk
  888.     ENDIF
  889.  
  890. ;
  891. ; pascal void LMSetSFSaveDisk(SInt16 value)
  892. ;
  893.     IF ¨ GENERATINGCFM THEN
  894.         Macro
  895.         _LMSetSFSaveDisk      &src=(sp)+
  896.             move.w            &src,$0214
  897.         EndM
  898.     ELSE
  899.         IMPORT_CFM_FUNCTION LMSetSFSaveDisk
  900.     ENDIF
  901.  
  902. ;
  903. ; pascal UInt8 LMGetKbdLast(void)
  904. ;
  905.     IF ¨ GENERATINGCFM THEN
  906.         Macro
  907.         _LMGetKbdLast         &dest=(sp)
  908.             move.b            $0218,&dest
  909.         EndM
  910.     ELSE
  911.         IMPORT_CFM_FUNCTION LMGetKbdLast
  912.     ENDIF
  913.  
  914. ;
  915. ; pascal void LMSetKbdLast(UInt8 value)
  916. ;
  917.     IF ¨ GENERATINGCFM THEN
  918.         Macro
  919.         _LMSetKbdLast         &src=(sp)+
  920.             move.b            &src,$0218
  921.         EndM
  922.     ELSE
  923.         IMPORT_CFM_FUNCTION LMSetKbdLast
  924.     ENDIF
  925.  
  926. ;
  927. ; pascal UInt8 LMGetKbdType(void)
  928. ;
  929.     IF ¨ GENERATINGCFM THEN
  930.         Macro
  931.         _LMGetKbdType         &dest=(sp)
  932.             move.b            $021E,&dest
  933.         EndM
  934.     ELSE
  935.         IMPORT_CFM_FUNCTION LMGetKbdType
  936.     ENDIF
  937.  
  938. ;
  939. ; pascal void LMSetKbdType(UInt8 value)
  940. ;
  941.     IF ¨ GENERATINGCFM THEN
  942.         Macro
  943.         _LMSetKbdType         &src=(sp)+
  944.             move.b            &src,$021E
  945.         EndM
  946.     ELSE
  947.         IMPORT_CFM_FUNCTION LMSetKbdType
  948.     ENDIF
  949.  
  950. ;
  951. ; pascal SInt16 LMGetMemErr(void)
  952. ;
  953.     IF ¨ GENERATINGCFM THEN
  954.         Macro
  955.         _LMGetMemErr          &dest=(sp)
  956.             move.w            $0220,&dest
  957.         EndM
  958.     ELSE
  959.         IMPORT_CFM_FUNCTION LMGetMemErr
  960.     ENDIF
  961.  
  962. ;
  963. ; pascal void LMSetMemErr(SInt16 value)
  964. ;
  965.     IF ¨ GENERATINGCFM THEN
  966.         Macro
  967.         _LMSetMemErr          &src=(sp)+
  968.             move.w            &src,$0220
  969.         EndM
  970.     ELSE
  971.         IMPORT_CFM_FUNCTION LMSetMemErr
  972.     ENDIF
  973.  
  974. ;
  975. ; pascal UInt8 LMGetSdVolume(void)
  976. ;
  977.     IF ¨ GENERATINGCFM THEN
  978.         Macro
  979.         _LMGetSdVolume        &dest=(sp)
  980.             move.b            $0260,&dest
  981.         EndM
  982.     ELSE
  983.         IMPORT_CFM_FUNCTION LMGetSdVolume
  984.     ENDIF
  985.  
  986. ;
  987. ; pascal void LMSetSdVolume(UInt8 value)
  988. ;
  989.     IF ¨ GENERATINGCFM THEN
  990.         Macro
  991.         _LMSetSdVolume        &src=(sp)+
  992.             move.b            &src,$0260
  993.         EndM
  994.     ELSE
  995.         IMPORT_CFM_FUNCTION LMSetSdVolume
  996.     ENDIF
  997.  
  998. ;
  999. ; pascal Ptr LMGetSoundPtr(void)
  1000. ;
  1001.     IF ¨ GENERATINGCFM THEN
  1002.         Macro
  1003.         _LMGetSoundPtr        &dest=(sp)
  1004.             move.l            $0262,&dest
  1005.         EndM
  1006.     ELSE
  1007.         IMPORT_CFM_FUNCTION LMGetSoundPtr
  1008.     ENDIF
  1009.  
  1010. ;
  1011. ; pascal void LMSetSoundPtr(Ptr value)
  1012. ;
  1013.     IF ¨ GENERATINGCFM THEN
  1014.         Macro
  1015.         _LMSetSoundPtr        &src=(sp)+
  1016.             move.l            &src,$0262
  1017.         EndM
  1018.     ELSE
  1019.         IMPORT_CFM_FUNCTION LMSetSoundPtr
  1020.     ENDIF
  1021.  
  1022. ;
  1023. ; pascal Ptr LMGetSoundBase(void)
  1024. ;
  1025.     IF ¨ GENERATINGCFM THEN
  1026.         Macro
  1027.         _LMGetSoundBase       &dest=(sp)
  1028.             move.l            $0266,&dest
  1029.         EndM
  1030.     ELSE
  1031.         IMPORT_CFM_FUNCTION LMGetSoundBase
  1032.     ENDIF
  1033.  
  1034. ;
  1035. ; pascal void LMSetSoundBase(Ptr value)
  1036. ;
  1037.     IF ¨ GENERATINGCFM THEN
  1038.         Macro
  1039.         _LMSetSoundBase       &src=(sp)+
  1040.             move.l            &src,$0266
  1041.         EndM
  1042.     ELSE
  1043.         IMPORT_CFM_FUNCTION LMSetSoundBase
  1044.     ENDIF
  1045.  
  1046. ;
  1047. ; pascal UInt8 LMGetSoundLevel(void)
  1048. ;
  1049.     IF ¨ GENERATINGCFM THEN
  1050.         Macro
  1051.         _LMGetSoundLevel      &dest=(sp)
  1052.             move.b            $027F,&dest
  1053.         EndM
  1054.     ELSE
  1055.         IMPORT_CFM_FUNCTION LMGetSoundLevel
  1056.     ENDIF
  1057.  
  1058. ;
  1059. ; pascal void LMSetSoundLevel(UInt8 value)
  1060. ;
  1061.     IF ¨ GENERATINGCFM THEN
  1062.         Macro
  1063.         _LMSetSoundLevel      &src=(sp)+
  1064.             move.b            &src,$027F
  1065.         EndM
  1066.     ELSE
  1067.         IMPORT_CFM_FUNCTION LMSetSoundLevel
  1068.     ENDIF
  1069.  
  1070. ;
  1071. ; pascal SInt16 LMGetCurPitch(void)
  1072. ;
  1073.     IF ¨ GENERATINGCFM THEN
  1074.         Macro
  1075.         _LMGetCurPitch        &dest=(sp)
  1076.             move.w            $0280,&dest
  1077.         EndM
  1078.     ELSE
  1079.         IMPORT_CFM_FUNCTION LMGetCurPitch
  1080.     ENDIF
  1081.  
  1082. ;
  1083. ; pascal void LMSetCurPitch(SInt16 value)
  1084. ;
  1085.     IF ¨ GENERATINGCFM THEN
  1086.         Macro
  1087.         _LMSetCurPitch        &src=(sp)+
  1088.             move.w            &src,$0280
  1089.         EndM
  1090.     ELSE
  1091.         IMPORT_CFM_FUNCTION LMSetCurPitch
  1092.     ENDIF
  1093.  
  1094. ;
  1095. ; pascal SInt16 LMGetROM85(void)
  1096. ;
  1097.     IF ¨ GENERATINGCFM THEN
  1098.         Macro
  1099.         _LMGetROM85           &dest=(sp)
  1100.             move.w            $028E,&dest
  1101.         EndM
  1102.     ELSE
  1103.         IMPORT_CFM_FUNCTION LMGetROM85
  1104.     ENDIF
  1105.  
  1106. ;
  1107. ; pascal void LMSetROM85(SInt16 value)
  1108. ;
  1109.     IF ¨ GENERATINGCFM THEN
  1110.         Macro
  1111.         _LMSetROM85           &src=(sp)+
  1112.             move.w            &src,$028E
  1113.         EndM
  1114.     ELSE
  1115.         IMPORT_CFM_FUNCTION LMSetROM85
  1116.     ENDIF
  1117.  
  1118. ;
  1119. ; pascal UInt8 LMGetPortBUse(void)
  1120. ;
  1121.     IF ¨ GENERATINGCFM THEN
  1122.         Macro
  1123.         _LMGetPortBUse        &dest=(sp)
  1124.             move.b            $0291,&dest
  1125.         EndM
  1126.     ELSE
  1127.         IMPORT_CFM_FUNCTION LMGetPortBUse
  1128.     ENDIF
  1129.  
  1130. ;
  1131. ; pascal void LMSetPortBUse(UInt8 value)
  1132. ;
  1133.     IF ¨ GENERATINGCFM THEN
  1134.         Macro
  1135.         _LMSetPortBUse        &src=(sp)+
  1136.             move.b            &src,$0291
  1137.         EndM
  1138.     ELSE
  1139.         IMPORT_CFM_FUNCTION LMSetPortBUse
  1140.     ENDIF
  1141.  
  1142. ;
  1143. ; pascal GNEFilterUPP LMGetGNEFilter(void)
  1144. ;
  1145.     IF ¨ GENERATINGCFM THEN
  1146.         Macro
  1147.         _LMGetGNEFilter       &dest=(sp)
  1148.             move.l            $029A,&dest
  1149.         EndM
  1150.     ELSE
  1151.         IMPORT_CFM_FUNCTION LMGetGNEFilter
  1152.     ENDIF
  1153.  
  1154. ;
  1155. ; pascal void LMSetGNEFilter(GNEFilterUPP value)
  1156. ;
  1157.     IF ¨ GENERATINGCFM THEN
  1158.         Macro
  1159.         _LMSetGNEFilter       &src=(sp)+
  1160.             move.l            &src,$029A
  1161.         EndM
  1162.     ELSE
  1163.         IMPORT_CFM_FUNCTION LMSetGNEFilter
  1164.     ENDIF
  1165.  
  1166. ;
  1167. ; pascal THz LMGetSysZone(void)
  1168. ;
  1169.     IF ¨ GENERATINGCFM THEN
  1170.         Macro
  1171.         _LMGetSysZone         &dest=(sp)
  1172.             move.l            $02A6,&dest
  1173.         EndM
  1174.     ELSE
  1175.         IMPORT_CFM_FUNCTION LMGetSysZone
  1176.     ENDIF
  1177.  
  1178. ;
  1179. ; pascal void LMSetSysZone(THz value)
  1180. ;
  1181.     IF ¨ GENERATINGCFM THEN
  1182.         Macro
  1183.         _LMSetSysZone         &src=(sp)+
  1184.             move.l            &src,$02A6
  1185.         EndM
  1186.     ELSE
  1187.         IMPORT_CFM_FUNCTION LMSetSysZone
  1188.     ENDIF
  1189.  
  1190. ;
  1191. ; pascal THz LMGetApplZone(void)
  1192. ;
  1193.     IF ¨ GENERATINGCFM THEN
  1194.         Macro
  1195.         _LMGetApplZone        &dest=(sp)
  1196.             move.l            $02AA,&dest
  1197.         EndM
  1198.     ELSE
  1199.         IMPORT_CFM_FUNCTION LMGetApplZone
  1200.     ENDIF
  1201.  
  1202. ;
  1203. ; pascal void LMSetApplZone(THz value)
  1204. ;
  1205.     IF ¨ GENERATINGCFM THEN
  1206.         Macro
  1207.         _LMSetApplZone        &src=(sp)+
  1208.             move.l            &src,$02AA
  1209.         EndM
  1210.     ELSE
  1211.         IMPORT_CFM_FUNCTION LMSetApplZone
  1212.     ENDIF
  1213.  
  1214. ;
  1215. ; pascal Ptr LMGetROMBase(void)
  1216. ;
  1217.     IF ¨ GENERATINGCFM THEN
  1218.         Macro
  1219.         _LMGetROMBase         &dest=(sp)
  1220.             move.l            $02AE,&dest
  1221.         EndM
  1222.     ELSE
  1223.         IMPORT_CFM_FUNCTION LMGetROMBase
  1224.     ENDIF
  1225.  
  1226. ;
  1227. ; pascal void LMSetROMBase(Ptr value)
  1228. ;
  1229.     IF ¨ GENERATINGCFM THEN
  1230.         Macro
  1231.         _LMSetROMBase         &src=(sp)+
  1232.             move.l            &src,$02AE
  1233.         EndM
  1234.     ELSE
  1235.         IMPORT_CFM_FUNCTION LMSetROMBase
  1236.     ENDIF
  1237.  
  1238. ;
  1239. ; pascal Ptr LMGetRAMBase(void)
  1240. ;
  1241.     IF ¨ GENERATINGCFM THEN
  1242.         Macro
  1243.         _LMGetRAMBase         &dest=(sp)
  1244.             move.l            $02B2,&dest
  1245.         EndM
  1246.     ELSE
  1247.         IMPORT_CFM_FUNCTION LMGetRAMBase
  1248.     ENDIF
  1249.  
  1250. ;
  1251. ; pascal void LMSetRAMBase(Ptr value)
  1252. ;
  1253.     IF ¨ GENERATINGCFM THEN
  1254.         Macro
  1255.         _LMSetRAMBase         &src=(sp)+
  1256.             move.l            &src,$02B2
  1257.         EndM
  1258.     ELSE
  1259.         IMPORT_CFM_FUNCTION LMSetRAMBase
  1260.     ENDIF
  1261.  
  1262. ;
  1263. ; pascal Ptr LMGetDSAlertTab(void)
  1264. ;
  1265.     IF ¨ GENERATINGCFM THEN
  1266.         Macro
  1267.         _LMGetDSAlertTab      &dest=(sp)
  1268.             move.l            $02BA,&dest
  1269.         EndM
  1270.     ELSE
  1271.         IMPORT_CFM_FUNCTION LMGetDSAlertTab
  1272.     ENDIF
  1273.  
  1274. ;
  1275. ; pascal void LMSetDSAlertTab(Ptr value)
  1276. ;
  1277.     IF ¨ GENERATINGCFM THEN
  1278.         Macro
  1279.         _LMSetDSAlertTab      &src=(sp)+
  1280.             move.l            &src,$02BA
  1281.         EndM
  1282.     ELSE
  1283.         IMPORT_CFM_FUNCTION LMSetDSAlertTab
  1284.     ENDIF
  1285.  
  1286. ;
  1287. ; pascal Ptr LMGetABusVars(void)
  1288. ;
  1289.     IF ¨ GENERATINGCFM THEN
  1290.         Macro
  1291.         _LMGetABusVars        &dest=(sp)
  1292.             move.l            $02D8,&dest
  1293.         EndM
  1294.     ELSE
  1295.         IMPORT_CFM_FUNCTION LMGetABusVars
  1296.     ENDIF
  1297.  
  1298. ;
  1299. ; pascal void LMSetABusVars(Ptr value)
  1300. ;
  1301.     IF ¨ GENERATINGCFM THEN
  1302.         Macro
  1303.         _LMSetABusVars        &src=(sp)+
  1304.             move.l            &src,$02D8
  1305.         EndM
  1306.     ELSE
  1307.         IMPORT_CFM_FUNCTION LMSetABusVars
  1308.     ENDIF
  1309.  
  1310. ;
  1311. ; pascal Ptr LMGetABusDCE(void)
  1312. ;
  1313.     IF ¨ GENERATINGCFM THEN
  1314.         Macro
  1315.         _LMGetABusDCE         &dest=(sp)
  1316.             move.l            $02DC,&dest
  1317.         EndM
  1318.     ELSE
  1319.         IMPORT_CFM_FUNCTION LMGetABusDCE
  1320.     ENDIF
  1321.  
  1322. ;
  1323. ; pascal void LMSetABusDCE(Ptr value)
  1324. ;
  1325.     IF ¨ GENERATINGCFM THEN
  1326.         Macro
  1327.         _LMSetABusDCE         &src=(sp)+
  1328.             move.l            &src,$02DC
  1329.         EndM
  1330.     ELSE
  1331.         IMPORT_CFM_FUNCTION LMSetABusDCE
  1332.     ENDIF
  1333.  
  1334. ;
  1335. ; pascal UInt32 LMGetDoubleTime(void)
  1336. ;
  1337.     IF ¨ GENERATINGCFM THEN
  1338.         Macro
  1339.         _LMGetDoubleTime      &dest=(sp)
  1340.             move.l            $02F0,&dest
  1341.         EndM
  1342.     ELSE
  1343.         IMPORT_CFM_FUNCTION LMGetDoubleTime
  1344.     ENDIF
  1345.  
  1346. ;
  1347. ; pascal void LMSetDoubleTime(UInt32 value)
  1348. ;
  1349.     IF ¨ GENERATINGCFM THEN
  1350.         Macro
  1351.         _LMSetDoubleTime      &src=(sp)+
  1352.             move.l            &src,$02F0
  1353.         EndM
  1354.     ELSE
  1355.         IMPORT_CFM_FUNCTION LMSetDoubleTime
  1356.     ENDIF
  1357.  
  1358. ;
  1359. ; pascal UInt32 LMGetCaretTime(void)
  1360. ;
  1361.     IF ¨ GENERATINGCFM THEN
  1362.         Macro
  1363.         _LMGetCaretTime       &dest=(sp)
  1364.             move.l            $02F4,&dest
  1365.         EndM
  1366.     ELSE
  1367.         IMPORT_CFM_FUNCTION LMGetCaretTime
  1368.     ENDIF
  1369.  
  1370. ;
  1371. ; pascal void LMSetCaretTime(UInt32 value)
  1372. ;
  1373.     IF ¨ GENERATINGCFM THEN
  1374.         Macro
  1375.         _LMSetCaretTime       &src=(sp)+
  1376.             move.l            &src,$02F4
  1377.         EndM
  1378.     ELSE
  1379.         IMPORT_CFM_FUNCTION LMSetCaretTime
  1380.     ENDIF
  1381.  
  1382. ;
  1383. ; pascal UInt8 LMGetScrDmpEnb(void)
  1384. ;
  1385.     IF ¨ GENERATINGCFM THEN
  1386.         Macro
  1387.         _LMGetScrDmpEnb       &dest=(sp)
  1388.             move.b            $02F8,&dest
  1389.         EndM
  1390.     ELSE
  1391.         IMPORT_CFM_FUNCTION LMGetScrDmpEnb
  1392.     ENDIF
  1393.  
  1394. ;
  1395. ; pascal void LMSetScrDmpEnb(UInt8 value)
  1396. ;
  1397.     IF ¨ GENERATINGCFM THEN
  1398.         Macro
  1399.         _LMSetScrDmpEnb       &src=(sp)+
  1400.             move.b            &src,$02F8
  1401.         EndM
  1402.     ELSE
  1403.         IMPORT_CFM_FUNCTION LMSetScrDmpEnb
  1404.     ENDIF
  1405.  
  1406. ;
  1407. ; pascal SInt32 LMGetBufTgFNum(void)
  1408. ;
  1409.     IF ¨ GENERATINGCFM THEN
  1410.         Macro
  1411.         _LMGetBufTgFNum       &dest=(sp)
  1412.             move.l            $02FC,&dest
  1413.         EndM
  1414.     ELSE
  1415.         IMPORT_CFM_FUNCTION LMGetBufTgFNum
  1416.     ENDIF
  1417.  
  1418. ;
  1419. ; pascal void LMSetBufTgFNum(SInt32 value)
  1420. ;
  1421.     IF ¨ GENERATINGCFM THEN
  1422.         Macro
  1423.         _LMSetBufTgFNum       &src=(sp)+
  1424.             move.l            &src,$02FC
  1425.         EndM
  1426.     ELSE
  1427.         IMPORT_CFM_FUNCTION LMSetBufTgFNum
  1428.     ENDIF
  1429.  
  1430. ;
  1431. ; pascal SInt16 LMGetBufTgFFlg(void)
  1432. ;
  1433.     IF ¨ GENERATINGCFM THEN
  1434.         Macro
  1435.         _LMGetBufTgFFlg       &dest=(sp)
  1436.             move.w            $0300,&dest
  1437.         EndM
  1438.     ELSE
  1439.         IMPORT_CFM_FUNCTION LMGetBufTgFFlg
  1440.     ENDIF
  1441.  
  1442. ;
  1443. ; pascal void LMSetBufTgFFlg(SInt16 value)
  1444. ;
  1445.     IF ¨ GENERATINGCFM THEN
  1446.         Macro
  1447.         _LMSetBufTgFFlg       &src=(sp)+
  1448.             move.w            &src,$0300
  1449.         EndM
  1450.     ELSE
  1451.         IMPORT_CFM_FUNCTION LMSetBufTgFFlg
  1452.     ENDIF
  1453.  
  1454. ;
  1455. ; pascal SInt16 LMGetBufTgFBkNum(void)
  1456. ;
  1457.     IF ¨ GENERATINGCFM THEN
  1458.         Macro
  1459.         _LMGetBufTgFBkNum     &dest=(sp)
  1460.             move.w            $0302,&dest
  1461.         EndM
  1462.     ELSE
  1463.         IMPORT_CFM_FUNCTION LMGetBufTgFBkNum
  1464.     ENDIF
  1465.  
  1466. ;
  1467. ; pascal void LMSetBufTgFBkNum(SInt16 value)
  1468. ;
  1469.     IF ¨ GENERATINGCFM THEN
  1470.         Macro
  1471.         _LMSetBufTgFBkNum     &src=(sp)+
  1472.             move.w            &src,$0302
  1473.         EndM
  1474.     ELSE
  1475.         IMPORT_CFM_FUNCTION LMSetBufTgFBkNum
  1476.     ENDIF
  1477.  
  1478. ;
  1479. ; pascal SInt32 LMGetBufTgDate(void)
  1480. ;
  1481.     IF ¨ GENERATINGCFM THEN
  1482.         Macro
  1483.         _LMGetBufTgDate       &dest=(sp)
  1484.             move.l            $0304,&dest
  1485.         EndM
  1486.     ELSE
  1487.         IMPORT_CFM_FUNCTION LMGetBufTgDate
  1488.     ENDIF
  1489.  
  1490. ;
  1491. ; pascal void LMSetBufTgDate(SInt32 value)
  1492. ;
  1493.     IF ¨ GENERATINGCFM THEN
  1494.         Macro
  1495.         _LMSetBufTgDate       &src=(sp)+
  1496.             move.l            &src,$0304
  1497.         EndM
  1498.     ELSE
  1499.         IMPORT_CFM_FUNCTION LMSetBufTgDate
  1500.     ENDIF
  1501.  
  1502. ;
  1503. ; pascal SInt32 LMGetLo3Bytes(void)
  1504. ;
  1505.     IF ¨ GENERATINGCFM THEN
  1506.         Macro
  1507.         _LMGetLo3Bytes        &dest=(sp)
  1508.             move.l            $031A,&dest
  1509.         EndM
  1510.     ELSE
  1511.         IMPORT_CFM_FUNCTION LMGetLo3Bytes
  1512.     ENDIF
  1513.  
  1514. ;
  1515. ; pascal void LMSetLo3Bytes(SInt32 value)
  1516. ;
  1517.     IF ¨ GENERATINGCFM THEN
  1518.         Macro
  1519.         _LMSetLo3Bytes        &src=(sp)+
  1520.             move.l            &src,$031A
  1521.         EndM
  1522.     ELSE
  1523.         IMPORT_CFM_FUNCTION LMSetLo3Bytes
  1524.     ENDIF
  1525.  
  1526. ;
  1527. ; pascal SInt32 LMGetMinStack(void)
  1528. ;
  1529.     IF ¨ GENERATINGCFM THEN
  1530.         Macro
  1531.         _LMGetMinStack        &dest=(sp)
  1532.             move.l            $031E,&dest
  1533.         EndM
  1534.     ELSE
  1535.         IMPORT_CFM_FUNCTION LMGetMinStack
  1536.     ENDIF
  1537.  
  1538. ;
  1539. ; pascal void LMSetMinStack(SInt32 value)
  1540. ;
  1541.     IF ¨ GENERATINGCFM THEN
  1542.         Macro
  1543.         _LMSetMinStack        &src=(sp)+
  1544.             move.l            &src,$031E
  1545.         EndM
  1546.     ELSE
  1547.         IMPORT_CFM_FUNCTION LMSetMinStack
  1548.     ENDIF
  1549.  
  1550. ;
  1551. ; pascal SInt32 LMGetDefltStack(void)
  1552. ;
  1553.     IF ¨ GENERATINGCFM THEN
  1554.         Macro
  1555.         _LMGetDefltStack      &dest=(sp)
  1556.             move.l            $0322,&dest
  1557.         EndM
  1558.     ELSE
  1559.         IMPORT_CFM_FUNCTION LMGetDefltStack
  1560.     ENDIF
  1561.  
  1562. ;
  1563. ; pascal void LMSetDefltStack(SInt32 value)
  1564. ;
  1565.     IF ¨ GENERATINGCFM THEN
  1566.         Macro
  1567.         _LMSetDefltStack      &src=(sp)+
  1568.             move.l            &src,$0322
  1569.         EndM
  1570.     ELSE
  1571.         IMPORT_CFM_FUNCTION LMSetDefltStack
  1572.     ENDIF
  1573.  
  1574. ;
  1575. ; pascal Handle LMGetGZRootHnd(void)
  1576. ;
  1577.     IF ¨ GENERATINGCFM THEN
  1578.         Macro
  1579.         _LMGetGZRootHnd       &dest=(sp)
  1580.             move.l            $0328,&dest
  1581.         EndM
  1582.     ELSE
  1583.         IMPORT_CFM_FUNCTION LMGetGZRootHnd
  1584.     ENDIF
  1585.  
  1586. ;
  1587. ; pascal void LMSetGZRootHnd(Handle value)
  1588. ;
  1589.     IF ¨ GENERATINGCFM THEN
  1590.         Macro
  1591.         _LMSetGZRootHnd       &src=(sp)+
  1592.             move.l            &src,$0328
  1593.         EndM
  1594.     ELSE
  1595.         IMPORT_CFM_FUNCTION LMSetGZRootHnd
  1596.     ENDIF
  1597.  
  1598. ;
  1599. ; pascal Handle LMGetGZMoveHnd(void)
  1600. ;
  1601.     IF ¨ GENERATINGCFM THEN
  1602.         Macro
  1603.         _LMGetGZMoveHnd       &dest=(sp)
  1604.             move.l            $0330,&dest
  1605.         EndM
  1606.     ELSE
  1607.         IMPORT_CFM_FUNCTION LMGetGZMoveHnd
  1608.     ENDIF
  1609.  
  1610. ;
  1611. ; pascal void LMSetGZMoveHnd(Handle value)
  1612. ;
  1613.     IF ¨ GENERATINGCFM THEN
  1614.         Macro
  1615.         _LMSetGZMoveHnd       &src=(sp)+
  1616.             move.l            &src,$0330
  1617.         EndM
  1618.     ELSE
  1619.         IMPORT_CFM_FUNCTION LMSetGZMoveHnd
  1620.     ENDIF
  1621.  
  1622. ;
  1623. ; pascal Ptr LMGetFCBSPtr(void)
  1624. ;
  1625.     IF ¨ GENERATINGCFM THEN
  1626.         Macro
  1627.         _LMGetFCBSPtr         &dest=(sp)
  1628.             move.l            $034E,&dest
  1629.         EndM
  1630.     ELSE
  1631.         IMPORT_CFM_FUNCTION LMGetFCBSPtr
  1632.     ENDIF
  1633.  
  1634. ;
  1635. ; pascal void LMSetFCBSPtr(Ptr value)
  1636. ;
  1637.     IF ¨ GENERATINGCFM THEN
  1638.         Macro
  1639.         _LMSetFCBSPtr         &src=(sp)+
  1640.             move.l            &src,$034E
  1641.         EndM
  1642.     ELSE
  1643.         IMPORT_CFM_FUNCTION LMSetFCBSPtr
  1644.     ENDIF
  1645.  
  1646. ;
  1647. ; pascal Ptr LMGetDefVCBPtr(void)
  1648. ;
  1649.     IF ¨ GENERATINGCFM THEN
  1650.         Macro
  1651.         _LMGetDefVCBPtr       &dest=(sp)
  1652.             move.l            $0352,&dest
  1653.         EndM
  1654.     ELSE
  1655.         IMPORT_CFM_FUNCTION LMGetDefVCBPtr
  1656.     ENDIF
  1657.  
  1658. ;
  1659. ; pascal void LMSetDefVCBPtr(Ptr value)
  1660. ;
  1661.     IF ¨ GENERATINGCFM THEN
  1662.         Macro
  1663.         _LMSetDefVCBPtr       &src=(sp)+
  1664.             move.l            &src,$0352
  1665.         EndM
  1666.     ELSE
  1667.         IMPORT_CFM_FUNCTION LMSetDefVCBPtr
  1668.     ENDIF
  1669.  
  1670. ;
  1671. ; pascal SInt32 LMGetCurDirStore(void)
  1672. ;
  1673.     IF ¨ GENERATINGCFM THEN
  1674.         Macro
  1675.         _LMGetCurDirStore     &dest=(sp)
  1676.             move.l            $0398,&dest
  1677.         EndM
  1678.     ELSE
  1679.         IMPORT_CFM_FUNCTION LMGetCurDirStore
  1680.     ENDIF
  1681.  
  1682. ;
  1683. ; pascal void LMSetCurDirStore(SInt32 value)
  1684. ;
  1685.     IF ¨ GENERATINGCFM THEN
  1686.         Macro
  1687.         _LMSetCurDirStore     &src=(sp)+
  1688.             move.l            &src,$0398
  1689.         EndM
  1690.     ELSE
  1691.         IMPORT_CFM_FUNCTION LMSetCurDirStore
  1692.     ENDIF
  1693.  
  1694. ;
  1695. ; pascal UniversalProcPtr LMGetToExtFS(void)
  1696. ;
  1697.     IF ¨ GENERATINGCFM THEN
  1698.         Macro
  1699.         _LMGetToExtFS         &dest=(sp)
  1700.             move.l            $03F2,&dest
  1701.         EndM
  1702.     ELSE
  1703.         IMPORT_CFM_FUNCTION LMGetToExtFS
  1704.     ENDIF
  1705.  
  1706. ;
  1707. ; pascal void LMSetToExtFS(UniversalProcPtr value)
  1708. ;
  1709.     IF ¨ GENERATINGCFM THEN
  1710.         Macro
  1711.         _LMSetToExtFS         &src=(sp)+
  1712.             move.l            &src,$03F2
  1713.         EndM
  1714.     ELSE
  1715.         IMPORT_CFM_FUNCTION LMSetToExtFS
  1716.     ENDIF
  1717.  
  1718. ;
  1719. ; pascal SInt16 LMGetFSFCBLen(void)
  1720. ;
  1721.     IF ¨ GENERATINGCFM THEN
  1722.         Macro
  1723.         _LMGetFSFCBLen        &dest=(sp)
  1724.             move.w            $03F6,&dest
  1725.         EndM
  1726.     ELSE
  1727.         IMPORT_CFM_FUNCTION LMGetFSFCBLen
  1728.     ENDIF
  1729.  
  1730. ;
  1731. ; pascal void LMSetFSFCBLen(SInt16 value)
  1732. ;
  1733.     IF ¨ GENERATINGCFM THEN
  1734.         Macro
  1735.         _LMSetFSFCBLen        &src=(sp)+
  1736.             move.w            &src,$03F6
  1737.         EndM
  1738.     ELSE
  1739.         IMPORT_CFM_FUNCTION LMSetFSFCBLen
  1740.     ENDIF
  1741.  
  1742. ;
  1743. ; pascal Ptr LMGetScrnBase(void)
  1744. ;
  1745.     IF ¨ GENERATINGCFM THEN
  1746.         Macro
  1747.         _LMGetScrnBase        &dest=(sp)
  1748.             move.l            $0824,&dest
  1749.         EndM
  1750.     ELSE
  1751.         IMPORT_CFM_FUNCTION LMGetScrnBase
  1752.     ENDIF
  1753.  
  1754. ;
  1755. ; pascal void LMSetScrnBase(Ptr value)
  1756. ;
  1757.     IF ¨ GENERATINGCFM THEN
  1758.         Macro
  1759.         _LMSetScrnBase        &src=(sp)+
  1760.             move.l            &src,$0824
  1761.         EndM
  1762.     ELSE
  1763.         IMPORT_CFM_FUNCTION LMSetScrnBase
  1764.     ENDIF
  1765.  
  1766. ;
  1767. ; pascal GDHandle LMGetMainDevice(void)
  1768. ;
  1769.     IF ¨ GENERATINGCFM THEN
  1770.         Macro
  1771.         _LMGetMainDevice      &dest=(sp)
  1772.             move.l            $08A4,&dest
  1773.         EndM
  1774.     ELSE
  1775.         IMPORT_CFM_FUNCTION LMGetMainDevice
  1776.     ENDIF
  1777.  
  1778. ;
  1779. ; pascal void LMSetMainDevice(GDHandle value)
  1780. ;
  1781.     IF ¨ GENERATINGCFM THEN
  1782.         Macro
  1783.         _LMSetMainDevice      &src=(sp)+
  1784.             move.l            &src,$08A4
  1785.         EndM
  1786.     ELSE
  1787.         IMPORT_CFM_FUNCTION LMSetMainDevice
  1788.     ENDIF
  1789.  
  1790. ;
  1791. ; pascal GDHandle LMGetDeviceList(void)
  1792. ;
  1793.     IF ¨ GENERATINGCFM THEN
  1794.         Macro
  1795.         _LMGetDeviceList      &dest=(sp)
  1796.             move.l            $08A8,&dest
  1797.         EndM
  1798.     ELSE
  1799.         IMPORT_CFM_FUNCTION LMGetDeviceList
  1800.     ENDIF
  1801.  
  1802. ;
  1803. ; pascal void LMSetDeviceList(GDHandle value)
  1804. ;
  1805.     IF ¨ GENERATINGCFM THEN
  1806.         Macro
  1807.         _LMSetDeviceList      &src=(sp)+
  1808.             move.l            &src,$08A8
  1809.         EndM
  1810.     ELSE
  1811.         IMPORT_CFM_FUNCTION LMSetDeviceList
  1812.     ENDIF
  1813.  
  1814. ;
  1815. ; pascal Handle LMGetQDColors(void)
  1816. ;
  1817.     IF ¨ GENERATINGCFM THEN
  1818.         Macro
  1819.         _LMGetQDColors        &dest=(sp)
  1820.             move.l            $08B0,&dest
  1821.         EndM
  1822.     ELSE
  1823.         IMPORT_CFM_FUNCTION LMGetQDColors
  1824.     ENDIF
  1825.  
  1826. ;
  1827. ; pascal void LMSetQDColors(Handle value)
  1828. ;
  1829.     IF ¨ GENERATINGCFM THEN
  1830.         Macro
  1831.         _LMSetQDColors        &src=(sp)+
  1832.             move.l            &src,$08B0
  1833.         EndM
  1834.     ELSE
  1835.         IMPORT_CFM_FUNCTION LMSetQDColors
  1836.     ENDIF
  1837.  
  1838. ;
  1839. ; pascal UInt8 LMGetCrsrBusy(void)
  1840. ;
  1841.     IF ¨ GENERATINGCFM THEN
  1842.         Macro
  1843.         _LMGetCrsrBusy        &dest=(sp)
  1844.             move.b            $08CD,&dest
  1845.         EndM
  1846.     ELSE
  1847.         IMPORT_CFM_FUNCTION LMGetCrsrBusy
  1848.     ENDIF
  1849.  
  1850. ;
  1851. ; pascal void LMSetCrsrBusy(UInt8 value)
  1852. ;
  1853.     IF ¨ GENERATINGCFM THEN
  1854.         Macro
  1855.         _LMSetCrsrBusy        &src=(sp)+
  1856.             move.b            &src,$08CD
  1857.         EndM
  1858.     ELSE
  1859.         IMPORT_CFM_FUNCTION LMSetCrsrBusy
  1860.     ENDIF
  1861.  
  1862. ;
  1863. ; pascal Handle LMGetWidthListHand(void)
  1864. ;
  1865.     IF ¨ GENERATINGCFM THEN
  1866.         Macro
  1867.         _LMGetWidthListHand   &dest=(sp)
  1868.             move.l            $08E4,&dest
  1869.         EndM
  1870.     ELSE
  1871.         IMPORT_CFM_FUNCTION LMGetWidthListHand
  1872.     ENDIF
  1873.  
  1874. ;
  1875. ; pascal void LMSetWidthListHand(Handle value)
  1876. ;
  1877.     IF ¨ GENERATINGCFM THEN
  1878.         Macro
  1879.         _LMSetWidthListHand   &src=(sp)+
  1880.             move.l            &src,$08E4
  1881.         EndM
  1882.     ELSE
  1883.         IMPORT_CFM_FUNCTION LMSetWidthListHand
  1884.     ENDIF
  1885.  
  1886. ;
  1887. ; pascal SInt16 LMGetJournalRef(void)
  1888. ;
  1889.     IF ¨ GENERATINGCFM THEN
  1890.         Macro
  1891.         _LMGetJournalRef      &dest=(sp)
  1892.             move.w            $08E8,&dest
  1893.         EndM
  1894.     ELSE
  1895.         IMPORT_CFM_FUNCTION LMGetJournalRef
  1896.     ENDIF
  1897.  
  1898. ;
  1899. ; pascal void LMSetJournalRef(SInt16 value)
  1900. ;
  1901.     IF ¨ GENERATINGCFM THEN
  1902.         Macro
  1903.         _LMSetJournalRef      &src=(sp)+
  1904.             move.w            &src,$08E8
  1905.         EndM
  1906.     ELSE
  1907.         IMPORT_CFM_FUNCTION LMSetJournalRef
  1908.     ENDIF
  1909.  
  1910. ;
  1911. ; pascal SInt16 LMGetCrsrThresh(void)
  1912. ;
  1913.     IF ¨ GENERATINGCFM THEN
  1914.         Macro
  1915.         _LMGetCrsrThresh      &dest=(sp)
  1916.             move.w            $08EC,&dest
  1917.         EndM
  1918.     ELSE
  1919.         IMPORT_CFM_FUNCTION LMGetCrsrThresh
  1920.     ENDIF
  1921.  
  1922. ;
  1923. ; pascal void LMSetCrsrThresh(SInt16 value)
  1924. ;
  1925.     IF ¨ GENERATINGCFM THEN
  1926.         Macro
  1927.         _LMSetCrsrThresh      &src=(sp)+
  1928.             move.w            &src,$08EC
  1929.         EndM
  1930.     ELSE
  1931.         IMPORT_CFM_FUNCTION LMSetCrsrThresh
  1932.     ENDIF
  1933.  
  1934. ;
  1935. ; pascal UniversalProcPtr LMGetJFetch(void)
  1936. ;
  1937.     IF ¨ GENERATINGCFM THEN
  1938.         Macro
  1939.         _LMGetJFetch          &dest=(sp)
  1940.             move.l            $08F4,&dest
  1941.         EndM
  1942.     ELSE
  1943.         IMPORT_CFM_FUNCTION LMGetJFetch
  1944.     ENDIF
  1945.  
  1946. ;
  1947. ; pascal void LMSetJFetch(UniversalProcPtr value)
  1948. ;
  1949.     IF ¨ GENERATINGCFM THEN
  1950.         Macro
  1951.         _LMSetJFetch          &src=(sp)+
  1952.             move.l            &src,$08F4
  1953.         EndM
  1954.     ELSE
  1955.         IMPORT_CFM_FUNCTION LMSetJFetch
  1956.     ENDIF
  1957.  
  1958. ;
  1959. ; pascal UniversalProcPtr LMGetJStash(void)
  1960. ;
  1961.     IF ¨ GENERATINGCFM THEN
  1962.         Macro
  1963.         _LMGetJStash          &dest=(sp)
  1964.             move.l            $08F8,&dest
  1965.         EndM
  1966.     ELSE
  1967.         IMPORT_CFM_FUNCTION LMGetJStash
  1968.     ENDIF
  1969.  
  1970. ;
  1971. ; pascal void LMSetJStash(UniversalProcPtr value)
  1972. ;
  1973.     IF ¨ GENERATINGCFM THEN
  1974.         Macro
  1975.         _LMSetJStash          &src=(sp)+
  1976.             move.l            &src,$08F8
  1977.         EndM
  1978.     ELSE
  1979.         IMPORT_CFM_FUNCTION LMSetJStash
  1980.     ENDIF
  1981.  
  1982. ;
  1983. ; pascal UniversalProcPtr LMGetJIODone(void)
  1984. ;
  1985.     IF ¨ GENERATINGCFM THEN
  1986.         Macro
  1987.         _LMGetJIODone         &dest=(sp)
  1988.             move.l            $08FC,&dest
  1989.         EndM
  1990.     ELSE
  1991.         IMPORT_CFM_FUNCTION LMGetJIODone
  1992.     ENDIF
  1993.  
  1994. ;
  1995. ; pascal void LMSetJIODone(UniversalProcPtr value)
  1996. ;
  1997.     IF ¨ GENERATINGCFM THEN
  1998.         Macro
  1999.         _LMSetJIODone         &src=(sp)+
  2000.             move.l            &src,$08FC
  2001.         EndM
  2002.     ELSE
  2003.         IMPORT_CFM_FUNCTION LMSetJIODone
  2004.     ENDIF
  2005.  
  2006. ;
  2007. ; pascal SInt16 LMGetCurApRefNum(void)
  2008. ;
  2009.     IF ¨ GENERATINGCFM THEN
  2010.         Macro
  2011.         _LMGetCurApRefNum     &dest=(sp)
  2012.             move.w            $0900,&dest
  2013.         EndM
  2014.     ELSE
  2015.         IMPORT_CFM_FUNCTION LMGetCurApRefNum
  2016.     ENDIF
  2017.  
  2018. ;
  2019. ; pascal void LMSetCurApRefNum(SInt16 value)
  2020. ;
  2021.     IF ¨ GENERATINGCFM THEN
  2022.         Macro
  2023.         _LMSetCurApRefNum     &src=(sp)+
  2024.             move.w            &src,$0900
  2025.         EndM
  2026.     ELSE
  2027.         IMPORT_CFM_FUNCTION LMSetCurApRefNum
  2028.     ENDIF
  2029.  
  2030. ;
  2031. ; pascal Ptr LMGetCurrentA5(void)
  2032. ;
  2033.     IF ¨ GENERATINGCFM THEN
  2034.         Macro
  2035.         _LMGetCurrentA5       &dest=(sp)
  2036.             move.l            $0904,&dest
  2037.         EndM
  2038.     ELSE
  2039.         IMPORT_CFM_FUNCTION LMGetCurrentA5
  2040.     ENDIF
  2041.  
  2042. ;
  2043. ; pascal void LMSetCurrentA5(Ptr value)
  2044. ;
  2045.     IF ¨ GENERATINGCFM THEN
  2046.         Macro
  2047.         _LMSetCurrentA5       &src=(sp)+
  2048.             move.l            &src,$0904
  2049.         EndM
  2050.     ELSE
  2051.         IMPORT_CFM_FUNCTION LMSetCurrentA5
  2052.     ENDIF
  2053.  
  2054. ;
  2055. ; pascal Ptr LMGetCurStackBase(void)
  2056. ;
  2057.     IF ¨ GENERATINGCFM THEN
  2058.         Macro
  2059.         _LMGetCurStackBase    &dest=(sp)
  2060.             move.l            $0908,&dest
  2061.         EndM
  2062.     ELSE
  2063.         IMPORT_CFM_FUNCTION LMGetCurStackBase
  2064.     ENDIF
  2065.  
  2066. ;
  2067. ; pascal void LMSetCurStackBase(Ptr value)
  2068. ;
  2069.     IF ¨ GENERATINGCFM THEN
  2070.         Macro
  2071.         _LMSetCurStackBase    &src=(sp)+
  2072.             move.l            &src,$0908
  2073.         EndM
  2074.     ELSE
  2075.         IMPORT_CFM_FUNCTION LMSetCurStackBase
  2076.     ENDIF
  2077.  
  2078. ;
  2079. ; pascal SInt16 LMGetCurJTOffset(void)
  2080. ;
  2081.     IF ¨ GENERATINGCFM THEN
  2082.         Macro
  2083.         _LMGetCurJTOffset     &dest=(sp)
  2084.             move.w            $0934,&dest
  2085.         EndM
  2086.     ELSE
  2087.         IMPORT_CFM_FUNCTION LMGetCurJTOffset
  2088.     ENDIF
  2089.  
  2090. ;
  2091. ; pascal void LMSetCurJTOffset(SInt16 value)
  2092. ;
  2093.     IF ¨ GENERATINGCFM THEN
  2094.         Macro
  2095.         _LMSetCurJTOffset     &src=(sp)+
  2096.             move.w            &src,$0934
  2097.         EndM
  2098.     ELSE
  2099.         IMPORT_CFM_FUNCTION LMSetCurJTOffset
  2100.     ENDIF
  2101.  
  2102. ;
  2103. ; pascal SInt16 LMGetCurPageOption(void)
  2104. ;
  2105.     IF ¨ GENERATINGCFM THEN
  2106.         Macro
  2107.         _LMGetCurPageOption   &dest=(sp)
  2108.             move.w            $0936,&dest
  2109.         EndM
  2110.     ELSE
  2111.         IMPORT_CFM_FUNCTION LMGetCurPageOption
  2112.     ENDIF
  2113.  
  2114. ;
  2115. ; pascal void LMSetCurPageOption(SInt16 value)
  2116. ;
  2117.     IF ¨ GENERATINGCFM THEN
  2118.         Macro
  2119.         _LMSetCurPageOption   &src=(sp)+
  2120.             move.w            &src,$0936
  2121.         EndM
  2122.     ELSE
  2123.         IMPORT_CFM_FUNCTION LMSetCurPageOption
  2124.     ENDIF
  2125.  
  2126. ;
  2127. ; pascal UInt8 LMGetHiliteMode(void)
  2128. ;
  2129.     IF ¨ GENERATINGCFM THEN
  2130.         Macro
  2131.         _LMGetHiliteMode      &dest=(sp)
  2132.             move.b            $0938,&dest
  2133.         EndM
  2134.     ELSE
  2135.         IMPORT_CFM_FUNCTION LMGetHiliteMode
  2136.     ENDIF
  2137.  
  2138. ;
  2139. ; pascal void LMSetHiliteMode(UInt8 value)
  2140. ;
  2141.     IF ¨ GENERATINGCFM THEN
  2142.         Macro
  2143.         _LMSetHiliteMode      &src=(sp)+
  2144.             move.b            &src,$0938
  2145.         EndM
  2146.     ELSE
  2147.         IMPORT_CFM_FUNCTION LMSetHiliteMode
  2148.     ENDIF
  2149.  
  2150. ;
  2151. ; pascal SInt16 LMGetPrintErr(void)
  2152. ;
  2153.     IF ¨ GENERATINGCFM THEN
  2154.         Macro
  2155.         _LMGetPrintErr        &dest=(sp)
  2156.             move.w            $0944,&dest
  2157.         EndM
  2158.     ELSE
  2159.         IMPORT_CFM_FUNCTION LMGetPrintErr
  2160.     ENDIF
  2161.  
  2162. ;
  2163. ; pascal void LMSetPrintErr(SInt16 value)
  2164. ;
  2165.     IF ¨ GENERATINGCFM THEN
  2166.         Macro
  2167.         _LMSetPrintErr        &src=(sp)+
  2168.             move.w            &src,$0944
  2169.         EndM
  2170.     ELSE
  2171.         IMPORT_CFM_FUNCTION LMSetPrintErr
  2172.     ENDIF
  2173.  
  2174. ;
  2175. ; pascal SInt32 LMGetScrapSize(void)
  2176. ;
  2177.     IF ¨ GENERATINGCFM THEN
  2178.         Macro
  2179.         _LMGetScrapSize       &dest=(sp)
  2180.             move.l            $0960,&dest
  2181.         EndM
  2182.     ELSE
  2183.         IMPORT_CFM_FUNCTION LMGetScrapSize
  2184.     ENDIF
  2185.  
  2186. ;
  2187. ; pascal void LMSetScrapSize(SInt32 value)
  2188. ;
  2189.     IF ¨ GENERATINGCFM THEN
  2190.         Macro
  2191.         _LMSetScrapSize       &src=(sp)+
  2192.             move.l            &src,$0960
  2193.         EndM
  2194.     ELSE
  2195.         IMPORT_CFM_FUNCTION LMSetScrapSize
  2196.     ENDIF
  2197.  
  2198. ;
  2199. ; pascal Handle LMGetScrapHandle(void)
  2200. ;
  2201.     IF ¨ GENERATINGCFM THEN
  2202.         Macro
  2203.         _LMGetScrapHandle     &dest=(sp)
  2204.             move.l            $0964,&dest
  2205.         EndM
  2206.     ELSE
  2207.         IMPORT_CFM_FUNCTION LMGetScrapHandle
  2208.     ENDIF
  2209.  
  2210. ;
  2211. ; pascal void LMSetScrapHandle(Handle value)
  2212. ;
  2213.     IF ¨ GENERATINGCFM THEN
  2214.         Macro
  2215.         _LMSetScrapHandle     &src=(sp)+
  2216.             move.l            &src,$0964
  2217.         EndM
  2218.     ELSE
  2219.         IMPORT_CFM_FUNCTION LMSetScrapHandle
  2220.     ENDIF
  2221.  
  2222. ;
  2223. ; pascal SInt16 LMGetScrapCount(void)
  2224. ;
  2225.     IF ¨ GENERATINGCFM THEN
  2226.         Macro
  2227.         _LMGetScrapCount      &dest=(sp)
  2228.             move.w            $0968,&dest
  2229.         EndM
  2230.     ELSE
  2231.         IMPORT_CFM_FUNCTION LMGetScrapCount
  2232.     ENDIF
  2233.  
  2234. ;
  2235. ; pascal void LMSetScrapCount(SInt16 value)
  2236. ;
  2237.     IF ¨ GENERATINGCFM THEN
  2238.         Macro
  2239.         _LMSetScrapCount      &src=(sp)+
  2240.             move.w            &src,$0968
  2241.         EndM
  2242.     ELSE
  2243.         IMPORT_CFM_FUNCTION LMSetScrapCount
  2244.     ENDIF
  2245.  
  2246. ;
  2247. ; pascal SInt16 LMGetScrapState(void)
  2248. ;
  2249.     IF ¨ GENERATINGCFM THEN
  2250.         Macro
  2251.         _LMGetScrapState      &dest=(sp)
  2252.             move.w            $096A,&dest
  2253.         EndM
  2254.     ELSE
  2255.         IMPORT_CFM_FUNCTION LMGetScrapState
  2256.     ENDIF
  2257.  
  2258. ;
  2259. ; pascal void LMSetScrapState(SInt16 value)
  2260. ;
  2261.     IF ¨ GENERATINGCFM THEN
  2262.         Macro
  2263.         _LMSetScrapState      &src=(sp)+
  2264.             move.w            &src,$096A
  2265.         EndM
  2266.     ELSE
  2267.         IMPORT_CFM_FUNCTION LMSetScrapState
  2268.     ENDIF
  2269.  
  2270. ;
  2271. ; pascal StringPtr LMGetScrapName(void)
  2272. ;
  2273.     IF ¨ GENERATINGCFM THEN
  2274.         Macro
  2275.         _LMGetScrapName       &dest=(sp)
  2276.             move.l            $096C,&dest
  2277.         EndM
  2278.     ELSE
  2279.         IMPORT_CFM_FUNCTION LMGetScrapName
  2280.     ENDIF
  2281.  
  2282. ;
  2283. ; pascal void LMSetScrapName(StringPtr value)
  2284. ;
  2285.     IF ¨ GENERATINGCFM THEN
  2286.         Macro
  2287.         _LMSetScrapName       &src=(sp)+
  2288.             move.l            &src,$096C
  2289.         EndM
  2290.     ELSE
  2291.         IMPORT_CFM_FUNCTION LMSetScrapName
  2292.     ENDIF
  2293.  
  2294. ;
  2295. ; pascal Handle LMGetROMFont0(void)
  2296. ;
  2297.     IF ¨ GENERATINGCFM THEN
  2298.         Macro
  2299.         _LMGetROMFont0        &dest=(sp)
  2300.             move.l            $0980,&dest
  2301.         EndM
  2302.     ELSE
  2303.         IMPORT_CFM_FUNCTION LMGetROMFont0
  2304.     ENDIF
  2305.  
  2306. ;
  2307. ; pascal void LMSetROMFont0(Handle value)
  2308. ;
  2309.     IF ¨ GENERATINGCFM THEN
  2310.         Macro
  2311.         _LMSetROMFont0        &src=(sp)+
  2312.             move.l            &src,$0980
  2313.         EndM
  2314.     ELSE
  2315.         IMPORT_CFM_FUNCTION LMSetROMFont0
  2316.     ENDIF
  2317.  
  2318. ;
  2319. ; pascal SInt16 LMGetApFontID(void)
  2320. ;
  2321.     IF ¨ GENERATINGCFM THEN
  2322.         Macro
  2323.         _LMGetApFontID        &dest=(sp)
  2324.             move.w            $0984,&dest
  2325.         EndM
  2326.     ELSE
  2327.         IMPORT_CFM_FUNCTION LMGetApFontID
  2328.     ENDIF
  2329.  
  2330. ;
  2331. ; pascal void LMSetApFontID(SInt16 value)
  2332. ;
  2333.     IF ¨ GENERATINGCFM THEN
  2334.         Macro
  2335.         _LMSetApFontID        &src=(sp)+
  2336.             move.w            &src,$0984
  2337.         EndM
  2338.     ELSE
  2339.         IMPORT_CFM_FUNCTION LMSetApFontID
  2340.     ENDIF
  2341.  
  2342. ;
  2343. ; pascal WindowRef LMGetWindowList(void)
  2344. ;
  2345.     IF ¨ GENERATINGCFM THEN
  2346.         Macro
  2347.         _LMGetWindowList      &dest=(sp)
  2348.             move.l            $09D6,&dest
  2349.         EndM
  2350.     ELSE
  2351.         IMPORT_CFM_FUNCTION LMGetWindowList
  2352.     ENDIF
  2353.  
  2354. ;
  2355. ; pascal SInt16 LMGetSaveUpdate(void)
  2356. ;
  2357.     IF ¨ GENERATINGCFM THEN
  2358.         Macro
  2359.         _LMGetSaveUpdate      &dest=(sp)
  2360.             move.w            $09DA,&dest
  2361.         EndM
  2362.     ELSE
  2363.         IMPORT_CFM_FUNCTION LMGetSaveUpdate
  2364.     ENDIF
  2365.  
  2366. ;
  2367. ; pascal void LMSetSaveUpdate(SInt16 value)
  2368. ;
  2369.     IF ¨ GENERATINGCFM THEN
  2370.         Macro
  2371.         _LMSetSaveUpdate      &src=(sp)+
  2372.             move.w            &src,$09DA
  2373.         EndM
  2374.     ELSE
  2375.         IMPORT_CFM_FUNCTION LMSetSaveUpdate
  2376.     ENDIF
  2377.  
  2378. ;
  2379. ; pascal SInt16 LMGetPaintWhite(void)
  2380. ;
  2381.     IF ¨ GENERATINGCFM THEN
  2382.         Macro
  2383.         _LMGetPaintWhite      &dest=(sp)
  2384.             move.w            $09DC,&dest
  2385.         EndM
  2386.     ELSE
  2387.         IMPORT_CFM_FUNCTION LMGetPaintWhite
  2388.     ENDIF
  2389.  
  2390. ;
  2391. ; pascal void LMSetPaintWhite(SInt16 value)
  2392. ;
  2393.     IF ¨ GENERATINGCFM THEN
  2394.         Macro
  2395.         _LMSetPaintWhite      &src=(sp)+
  2396.             move.w            &src,$09DC
  2397.         EndM
  2398.     ELSE
  2399.         IMPORT_CFM_FUNCTION LMSetPaintWhite
  2400.     ENDIF
  2401.  
  2402. ;
  2403. ; pascal GrafPtr LMGetWMgrPort(void)
  2404. ;
  2405.     IF ¨ GENERATINGCFM THEN
  2406.         Macro
  2407.         _LMGetWMgrPort        &dest=(sp)
  2408.             move.l            $09DE,&dest
  2409.         EndM
  2410.     ELSE
  2411.         IMPORT_CFM_FUNCTION LMGetWMgrPort
  2412.     ENDIF
  2413.  
  2414. ;
  2415. ; pascal void LMSetWMgrPort(GrafPtr value)
  2416. ;
  2417.     IF ¨ GENERATINGCFM THEN
  2418.         Macro
  2419.         _LMSetWMgrPort        &src=(sp)+
  2420.             move.l            &src,$09DE
  2421.         EndM
  2422.     ELSE
  2423.         IMPORT_CFM_FUNCTION LMSetWMgrPort
  2424.     ENDIF
  2425.  
  2426. ;
  2427. ; pascal RgnHandle LMGetGrayRgn(void)
  2428. ;
  2429.     IF ¨ GENERATINGCFM THEN
  2430.         Macro
  2431.         _LMGetGrayRgn         &dest=(sp)
  2432.             move.l            $09EE,&dest
  2433.         EndM
  2434.     ELSE
  2435.         IMPORT_CFM_FUNCTION LMGetGrayRgn
  2436.     ENDIF
  2437.  
  2438. ;
  2439. ; pascal UniversalProcPtr LMGetDragHook(void)
  2440. ;
  2441.     IF ¨ GENERATINGCFM THEN
  2442.         Macro
  2443.         _LMGetDragHook        &dest=(sp)
  2444.             move.l            $09F6,&dest
  2445.         EndM
  2446.     ELSE
  2447.         IMPORT_CFM_FUNCTION LMGetDragHook
  2448.     ENDIF
  2449.  
  2450. ;
  2451. ; pascal void LMSetDragHook(UniversalProcPtr value)
  2452. ;
  2453.     IF ¨ GENERATINGCFM THEN
  2454.         Macro
  2455.         _LMSetDragHook        &src=(sp)+
  2456.             move.l            &src,$09F6
  2457.         EndM
  2458.     ELSE
  2459.         IMPORT_CFM_FUNCTION LMSetDragHook
  2460.     ENDIF
  2461.  
  2462. ;
  2463. ; To best work with future versions of the window manager,
  2464. ; avoid using anything defined with FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
  2465. ; Most, if not all of these will still be supported 
  2466. ; in the next major version of the window manager
  2467. ; but will trigger non-optimal compatibility code paths that
  2468. ; should be avoided if possible.
  2469. ;
  2470. ;
  2471. ; There is no reason to set the window list directly.
  2472. ; Use BringToFront and SendBehind.
  2473. ;
  2474. ; If you need to do floating windows, avoid using GhostWindow 
  2475. ; and especially avoid patching the window manager.
  2476. ;
  2477. ; See Dean Yu's article in Develop 15 about how to implement floating
  2478. ; windows using low-level window manager calls.  The next generation
  2479. ; Macintosh Window Manager will have built-in support for floating
  2480. ; and modal windows.
  2481. ;
  2482. ;
  2483. ; pascal void LMSetWindowList(WindowRef value)
  2484. ;
  2485.     IF ¨ GENERATINGCFM THEN
  2486.         Macro
  2487.         _LMSetWindowList      &src=(sp)+
  2488.             move.l            &src,$09D6
  2489.         EndM
  2490.     ELSE
  2491.         IMPORT_CFM_FUNCTION LMSetWindowList
  2492.     ENDIF
  2493.  
  2494. ;
  2495. ; pascal WindowRef LMGetGhostWindow(void)
  2496. ;
  2497.     IF ¨ GENERATINGCFM THEN
  2498.         Macro
  2499.         _LMGetGhostWindow     &dest=(sp)
  2500.             move.l            $0A84,&dest
  2501.         EndM
  2502.     ELSE
  2503.         IMPORT_CFM_FUNCTION LMGetGhostWindow
  2504.     ENDIF
  2505.  
  2506. ;
  2507. ; pascal void LMSetGhostWindow(WindowRef value)
  2508. ;
  2509.     IF ¨ GENERATINGCFM THEN
  2510.         Macro
  2511.         _LMSetGhostWindow     &src=(sp)+
  2512.             move.l            &src,$0A84
  2513.         EndM
  2514.     ELSE
  2515.         IMPORT_CFM_FUNCTION LMSetGhostWindow
  2516.     ENDIF
  2517.  
  2518. ;
  2519. ; The auxiliary window record list will be empty in future
  2520. ; versions of the window manager.  There is no reason to 
  2521. ; walk it or change it. 
  2522. ;
  2523. ;
  2524. ; pascal AuxWinHandle LMGetAuxWinHead(void)
  2525. ;
  2526.     IF ¨ GENERATINGCFM THEN
  2527.         Macro
  2528.         _LMGetAuxWinHead      &dest=(sp)
  2529.             move.l            $0CD0,&dest
  2530.         EndM
  2531.     ELSE
  2532.         IMPORT_CFM_FUNCTION LMGetAuxWinHead
  2533.     ENDIF
  2534.  
  2535. ;
  2536. ; pascal void LMSetAuxWinHead(AuxWinHandle value)
  2537. ;
  2538.     IF ¨ GENERATINGCFM THEN
  2539.         Macro
  2540.         _LMSetAuxWinHead      &src=(sp)+
  2541.             move.l            &src,$0CD0
  2542.         EndM
  2543.     ELSE
  2544.         IMPORT_CFM_FUNCTION LMSetAuxWinHead
  2545.     ENDIF
  2546.  
  2547. ;
  2548. ; Please rely on the event manager to deliver activate and 
  2549. ; deactivate events and on the window manager to generate them.
  2550. ;
  2551. ; The next generation window manager will queue these events
  2552. ; rather than just slamming these lowmems with the latest
  2553. ; generated event, so it pays to rely on the event manager.
  2554. ;
  2555. ;
  2556. ; pascal WindowRef LMGetCurActivate(void)
  2557. ;
  2558.     IF ¨ GENERATINGCFM THEN
  2559.         Macro
  2560.         _LMGetCurActivate     &dest=(sp)
  2561.             move.l            $0A64,&dest
  2562.         EndM
  2563.     ELSE
  2564.         IMPORT_CFM_FUNCTION LMGetCurActivate
  2565.     ENDIF
  2566.  
  2567. ;
  2568. ; pascal void LMSetCurActivate(WindowRef value)
  2569. ;
  2570.     IF ¨ GENERATINGCFM THEN
  2571.         Macro
  2572.         _LMSetCurActivate     &src=(sp)+
  2573.             move.l            &src,$0A64
  2574.         EndM
  2575.     ELSE
  2576.         IMPORT_CFM_FUNCTION LMSetCurActivate
  2577.     ENDIF
  2578.  
  2579. ;
  2580. ; pascal WindowRef LMGetCurDeactive(void)
  2581. ;
  2582.     IF ¨ GENERATINGCFM THEN
  2583.         Macro
  2584.         _LMGetCurDeactive     &dest=(sp)
  2585.             move.l            $0A68,&dest
  2586.         EndM
  2587.     ELSE
  2588.         IMPORT_CFM_FUNCTION LMGetCurDeactive
  2589.     ENDIF
  2590.  
  2591. ;
  2592. ; pascal void LMSetCurDeactive(WindowRef value)
  2593. ;
  2594.     IF ¨ GENERATINGCFM THEN
  2595.         Macro
  2596.         _LMSetCurDeactive     &src=(sp)+
  2597.             move.l            &src,$0A68
  2598.         EndM
  2599.     ELSE
  2600.         IMPORT_CFM_FUNCTION LMSetCurDeactive
  2601.     ENDIF
  2602.  
  2603. ;
  2604. ; pascal RgnHandle LMGetOldStructure(void)
  2605. ;
  2606.     IF ¨ GENERATINGCFM THEN
  2607.         Macro
  2608.         _LMGetOldStructure    &dest=(sp)
  2609.             move.l            $09E6,&dest
  2610.         EndM
  2611.     ELSE
  2612.         IMPORT_CFM_FUNCTION LMGetOldStructure
  2613.     ENDIF
  2614.  
  2615. ;
  2616. ; pascal void LMSetOldStructure(RgnHandle value)
  2617. ;
  2618.     IF ¨ GENERATINGCFM THEN
  2619.         Macro
  2620.         _LMSetOldStructure    &src=(sp)+
  2621.             move.l            &src,$09E6
  2622.         EndM
  2623.     ELSE
  2624.         IMPORT_CFM_FUNCTION LMSetOldStructure
  2625.     ENDIF
  2626.  
  2627. ;
  2628. ; pascal RgnHandle LMGetOldContent(void)
  2629. ;
  2630.     IF ¨ GENERATINGCFM THEN
  2631.         Macro
  2632.         _LMGetOldContent      &dest=(sp)
  2633.             move.l            $09EA,&dest
  2634.         EndM
  2635.     ELSE
  2636.         IMPORT_CFM_FUNCTION LMGetOldContent
  2637.     ENDIF
  2638.  
  2639. ;
  2640. ; pascal void LMSetOldContent(RgnHandle value)
  2641. ;
  2642.     IF ¨ GENERATINGCFM THEN
  2643.         Macro
  2644.         _LMSetOldContent      &src=(sp)+
  2645.             move.l            &src,$09EA
  2646.         EndM
  2647.     ELSE
  2648.         IMPORT_CFM_FUNCTION LMSetOldContent
  2649.     ENDIF
  2650.  
  2651. ;
  2652. ; Please don't mess with the gray region.  There has
  2653. ; to be a better way.  If not, please manipulate the
  2654. ; existing region, don't change the value of the lowmem.
  2655. ;
  2656. ;
  2657. ; pascal void LMSetGrayRgn(RgnHandle value)
  2658. ;
  2659.     IF ¨ GENERATINGCFM THEN
  2660.         Macro
  2661.         _LMSetGrayRgn         &src=(sp)+
  2662.             move.l            &src,$09EE
  2663.         EndM
  2664.     ELSE
  2665.         IMPORT_CFM_FUNCTION LMSetGrayRgn
  2666.     ENDIF
  2667.  
  2668. ;
  2669. ; pascal RgnHandle LMGetSaveVisRgn(void)
  2670. ;
  2671.     IF ¨ GENERATINGCFM THEN
  2672.         Macro
  2673.         _LMGetSaveVisRgn      &dest=(sp)
  2674.             move.l            $09F2,&dest
  2675.         EndM
  2676.     ELSE
  2677.         IMPORT_CFM_FUNCTION LMGetSaveVisRgn
  2678.     ENDIF
  2679.  
  2680. ;
  2681. ; pascal void LMSetSaveVisRgn(RgnHandle value)
  2682. ;
  2683.     IF ¨ GENERATINGCFM THEN
  2684.         Macro
  2685.         _LMSetSaveVisRgn      &src=(sp)+
  2686.             move.l            &src,$09F2
  2687.         EndM
  2688.     ELSE
  2689.         IMPORT_CFM_FUNCTION LMSetSaveVisRgn
  2690.     ENDIF
  2691.  
  2692. ;
  2693. ; pascal SInt32 LMGetOneOne(void)
  2694. ;
  2695.     IF ¨ GENERATINGCFM THEN
  2696.         Macro
  2697.         _LMGetOneOne          &dest=(sp)
  2698.             move.l            $0A02,&dest
  2699.         EndM
  2700.     ELSE
  2701.         IMPORT_CFM_FUNCTION LMGetOneOne
  2702.     ENDIF
  2703.  
  2704. ;
  2705. ; pascal void LMSetOneOne(SInt32 value)
  2706. ;
  2707.     IF ¨ GENERATINGCFM THEN
  2708.         Macro
  2709.         _LMSetOneOne          &src=(sp)+
  2710.             move.l            &src,$0A02
  2711.         EndM
  2712.     ELSE
  2713.         IMPORT_CFM_FUNCTION LMSetOneOne
  2714.     ENDIF
  2715.  
  2716. ;
  2717. ; pascal SInt32 LMGetMinusOne(void)
  2718. ;
  2719.     IF ¨ GENERATINGCFM THEN
  2720.         Macro
  2721.         _LMGetMinusOne        &dest=(sp)
  2722.             move.l            $0A06,&dest
  2723.         EndM
  2724.     ELSE
  2725.         IMPORT_CFM_FUNCTION LMGetMinusOne
  2726.     ENDIF
  2727.  
  2728. ;
  2729. ; pascal void LMSetMinusOne(SInt32 value)
  2730. ;
  2731.     IF ¨ GENERATINGCFM THEN
  2732.         Macro
  2733.         _LMSetMinusOne        &src=(sp)+
  2734.             move.l            &src,$0A06
  2735.         EndM
  2736.     ELSE
  2737.         IMPORT_CFM_FUNCTION LMSetMinusOne
  2738.     ENDIF
  2739.  
  2740. ;
  2741. ; pascal SInt16 LMGetTopMenuItem(void)
  2742. ;
  2743.     IF ¨ GENERATINGCFM THEN
  2744.         Macro
  2745.         _LMGetTopMenuItem     &dest=(sp)
  2746.             move.w            $0A0A,&dest
  2747.         EndM
  2748.     ELSE
  2749.         IMPORT_CFM_FUNCTION LMGetTopMenuItem
  2750.     ENDIF
  2751.  
  2752. ;
  2753. ; pascal void LMSetTopMenuItem(SInt16 value)
  2754. ;
  2755.     IF ¨ GENERATINGCFM THEN
  2756.         Macro
  2757.         _LMSetTopMenuItem     &src=(sp)+
  2758.             move.w            &src,$0A0A
  2759.         EndM
  2760.     ELSE
  2761.         IMPORT_CFM_FUNCTION LMSetTopMenuItem
  2762.     ENDIF
  2763.  
  2764. ;
  2765. ; pascal SInt16 LMGetAtMenuBottom(void)
  2766. ;
  2767.     IF ¨ GENERATINGCFM THEN
  2768.         Macro
  2769.         _LMGetAtMenuBottom    &dest=(sp)
  2770.             move.w            $0A0C,&dest
  2771.         EndM
  2772.     ELSE
  2773.         IMPORT_CFM_FUNCTION LMGetAtMenuBottom
  2774.     ENDIF
  2775.  
  2776. ;
  2777. ; pascal void LMSetAtMenuBottom(SInt16 value)
  2778. ;
  2779.     IF ¨ GENERATINGCFM THEN
  2780.         Macro
  2781.         _LMSetAtMenuBottom    &src=(sp)+
  2782.             move.w            &src,$0A0C
  2783.         EndM
  2784.     ELSE
  2785.         IMPORT_CFM_FUNCTION LMSetAtMenuBottom
  2786.     ENDIF
  2787.  
  2788. ;
  2789. ; pascal Handle LMGetMenuList(void)
  2790. ;
  2791.     IF ¨ GENERATINGCFM THEN
  2792.         Macro
  2793.         _LMGetMenuList        &dest=(sp)
  2794.             move.l            $0A1C,&dest
  2795.         EndM
  2796.     ELSE
  2797.         IMPORT_CFM_FUNCTION LMGetMenuList
  2798.     ENDIF
  2799.  
  2800. ;
  2801. ; pascal void LMSetMenuList(Handle value)
  2802. ;
  2803.     IF ¨ GENERATINGCFM THEN
  2804.         Macro
  2805.         _LMSetMenuList        &src=(sp)+
  2806.             move.l            &src,$0A1C
  2807.         EndM
  2808.     ELSE
  2809.         IMPORT_CFM_FUNCTION LMSetMenuList
  2810.     ENDIF
  2811.  
  2812. ;
  2813. ; pascal SInt16 LMGetMBarEnable(void)
  2814. ;
  2815.     IF ¨ GENERATINGCFM THEN
  2816.         Macro
  2817.         _LMGetMBarEnable      &dest=(sp)
  2818.             move.w            $0A20,&dest
  2819.         EndM
  2820.     ELSE
  2821.         IMPORT_CFM_FUNCTION LMGetMBarEnable
  2822.     ENDIF
  2823.  
  2824. ;
  2825. ; pascal void LMSetMBarEnable(SInt16 value)
  2826. ;
  2827.     IF ¨ GENERATINGCFM THEN
  2828.         Macro
  2829.         _LMSetMBarEnable      &src=(sp)+
  2830.             move.w            &src,$0A20
  2831.         EndM
  2832.     ELSE
  2833.         IMPORT_CFM_FUNCTION LMSetMBarEnable
  2834.     ENDIF
  2835.  
  2836. ;
  2837. ; pascal SInt16 LMGetMenuFlash(void)
  2838. ;
  2839.     IF ¨ GENERATINGCFM THEN
  2840.         Macro
  2841.         _LMGetMenuFlash       &dest=(sp)
  2842.             move.w            $0A24,&dest
  2843.         EndM
  2844.     ELSE
  2845.         IMPORT_CFM_FUNCTION LMGetMenuFlash
  2846.     ENDIF
  2847.  
  2848. ;
  2849. ; pascal void LMSetMenuFlash(SInt16 value)
  2850. ;
  2851.     IF ¨ GENERATINGCFM THEN
  2852.         Macro
  2853.         _LMSetMenuFlash       &src=(sp)+
  2854.             move.w            &src,$0A24
  2855.         EndM
  2856.     ELSE
  2857.         IMPORT_CFM_FUNCTION LMSetMenuFlash
  2858.     ENDIF
  2859.  
  2860. ;
  2861. ; pascal SInt16 LMGetTheMenu(void)
  2862. ;
  2863.     IF ¨ GENERATINGCFM THEN
  2864.         Macro
  2865.         _LMGetTheMenu         &dest=(sp)
  2866.             move.w            $0A26,&dest
  2867.         EndM
  2868.     ELSE
  2869.         IMPORT_CFM_FUNCTION LMGetTheMenu
  2870.     ENDIF
  2871.  
  2872. ;
  2873. ; pascal void LMSetTheMenu(SInt16 value)
  2874. ;
  2875.     IF ¨ GENERATINGCFM THEN
  2876.         Macro
  2877.         _LMSetTheMenu         &src=(sp)+
  2878.             move.w            &src,$0A26
  2879.         EndM
  2880.     ELSE
  2881.         IMPORT_CFM_FUNCTION LMSetTheMenu
  2882.     ENDIF
  2883.  
  2884. ;
  2885. ; pascal UniversalProcPtr LMGetMBarHook(void)
  2886. ;
  2887.     IF ¨ GENERATINGCFM THEN
  2888.         Macro
  2889.         _LMGetMBarHook        &dest=(sp)
  2890.             move.l            $0A2C,&dest
  2891.         EndM
  2892.     ELSE
  2893.         IMPORT_CFM_FUNCTION LMGetMBarHook
  2894.     ENDIF
  2895.  
  2896. ;
  2897. ; pascal void LMSetMBarHook(UniversalProcPtr value)
  2898. ;
  2899.     IF ¨ GENERATINGCFM THEN
  2900.         Macro
  2901.         _LMSetMBarHook        &src=(sp)+
  2902.             move.l            &src,$0A2C
  2903.         EndM
  2904.     ELSE
  2905.         IMPORT_CFM_FUNCTION LMSetMBarHook
  2906.     ENDIF
  2907.  
  2908. ;
  2909. ; pascal UniversalProcPtr LMGetMenuHook(void)
  2910. ;
  2911.     IF ¨ GENERATINGCFM THEN
  2912.         Macro
  2913.         _LMGetMenuHook        &dest=(sp)
  2914.             move.l            $0A30,&dest
  2915.         EndM
  2916.     ELSE
  2917.         IMPORT_CFM_FUNCTION LMGetMenuHook
  2918.     ENDIF
  2919.  
  2920. ;
  2921. ; pascal void LMSetMenuHook(UniversalProcPtr value)
  2922. ;
  2923.     IF ¨ GENERATINGCFM THEN
  2924.         Macro
  2925.         _LMSetMenuHook        &src=(sp)+
  2926.             move.l            &src,$0A30
  2927.         EndM
  2928.     ELSE
  2929.         IMPORT_CFM_FUNCTION LMSetMenuHook
  2930.     ENDIF
  2931.  
  2932. ;
  2933. ; pascal Handle LMGetTopMapHndl(void)
  2934. ;
  2935.     IF ¨ GENERATINGCFM THEN
  2936.         Macro
  2937.         _LMGetTopMapHndl      &dest=(sp)
  2938.             move.l            $0A50,&dest
  2939.         EndM
  2940.     ELSE
  2941.         IMPORT_CFM_FUNCTION LMGetTopMapHndl
  2942.     ENDIF
  2943.  
  2944. ;
  2945. ; pascal void LMSetTopMapHndl(Handle value)
  2946. ;
  2947.     IF ¨ GENERATINGCFM THEN
  2948.         Macro
  2949.         _LMSetTopMapHndl      &src=(sp)+
  2950.             move.l            &src,$0A50
  2951.         EndM
  2952.     ELSE
  2953.         IMPORT_CFM_FUNCTION LMSetTopMapHndl
  2954.     ENDIF
  2955.  
  2956. ;
  2957. ; pascal Handle LMGetSysMapHndl(void)
  2958. ;
  2959.     IF ¨ GENERATINGCFM THEN
  2960.         Macro
  2961.         _LMGetSysMapHndl      &dest=(sp)
  2962.             move.l            $0A54,&dest
  2963.         EndM
  2964.     ELSE
  2965.         IMPORT_CFM_FUNCTION LMGetSysMapHndl
  2966.     ENDIF
  2967.  
  2968. ;
  2969. ; pascal void LMSetSysMapHndl(Handle value)
  2970. ;
  2971.     IF ¨ GENERATINGCFM THEN
  2972.         Macro
  2973.         _LMSetSysMapHndl      &src=(sp)+
  2974.             move.l            &src,$0A54
  2975.         EndM
  2976.     ELSE
  2977.         IMPORT_CFM_FUNCTION LMSetSysMapHndl
  2978.     ENDIF
  2979.  
  2980. ;
  2981. ; pascal SInt16 LMGetSysMap(void)
  2982. ;
  2983.     IF ¨ GENERATINGCFM THEN
  2984.         Macro
  2985.         _LMGetSysMap          &dest=(sp)
  2986.             move.w            $0A58,&dest
  2987.         EndM
  2988.     ELSE
  2989.         IMPORT_CFM_FUNCTION LMGetSysMap
  2990.     ENDIF
  2991.  
  2992. ;
  2993. ; pascal void LMSetSysMap(SInt16 value)
  2994. ;
  2995.     IF ¨ GENERATINGCFM THEN
  2996.         Macro
  2997.         _LMSetSysMap          &src=(sp)+
  2998.             move.w            &src,$0A58
  2999.         EndM
  3000.     ELSE
  3001.         IMPORT_CFM_FUNCTION LMSetSysMap
  3002.     ENDIF
  3003.  
  3004. ;
  3005. ; pascal SInt16 LMGetCurMap(void)
  3006. ;
  3007.     IF ¨ GENERATINGCFM THEN
  3008.         Macro
  3009.         _LMGetCurMap          &dest=(sp)
  3010.             move.w            $0A5A,&dest
  3011.         EndM
  3012.     ELSE
  3013.         IMPORT_CFM_FUNCTION LMGetCurMap
  3014.     ENDIF
  3015.  
  3016. ;
  3017. ; pascal void LMSetCurMap(SInt16 value)
  3018. ;
  3019.     IF ¨ GENERATINGCFM THEN
  3020.         Macro
  3021.         _LMSetCurMap          &src=(sp)+
  3022.             move.w            &src,$0A5A
  3023.         EndM
  3024.     ELSE
  3025.         IMPORT_CFM_FUNCTION LMSetCurMap
  3026.     ENDIF
  3027.  
  3028. ;
  3029. ; pascal UInt8 LMGetResLoad(void)
  3030. ;
  3031.     IF ¨ GENERATINGCFM THEN
  3032.         Macro
  3033.         _LMGetResLoad         &dest=(sp)
  3034.             move.b            $0A5E,&dest
  3035.         EndM
  3036.     ELSE
  3037.         IMPORT_CFM_FUNCTION LMGetResLoad
  3038.     ENDIF
  3039.  
  3040. ;
  3041. ; pascal void LMSetResLoad(UInt8 value)
  3042. ;
  3043.     IF ¨ GENERATINGCFM THEN
  3044.         Macro
  3045.         _LMSetResLoad         &src=(sp)+
  3046.             move.b            &src,$0A5E
  3047.         EndM
  3048.     ELSE
  3049.         IMPORT_CFM_FUNCTION LMSetResLoad
  3050.     ENDIF
  3051.  
  3052. ;
  3053. ; pascal SInt16 LMGetResErr(void)
  3054. ;
  3055.     IF ¨ GENERATINGCFM THEN
  3056.         Macro
  3057.         _LMGetResErr          &dest=(sp)
  3058.             move.w            $0A60,&dest
  3059.         EndM
  3060.     ELSE
  3061.         IMPORT_CFM_FUNCTION LMGetResErr
  3062.     ENDIF
  3063.  
  3064. ;
  3065. ; pascal void LMSetResErr(SInt16 value)
  3066. ;
  3067.     IF ¨ GENERATINGCFM THEN
  3068.         Macro
  3069.         _LMSetResErr          &src=(sp)+
  3070.             move.w            &src,$0A60
  3071.         EndM
  3072.     ELSE
  3073.         IMPORT_CFM_FUNCTION LMSetResErr
  3074.     ENDIF
  3075.  
  3076. ;
  3077. ; pascal UInt8 LMGetFScaleDisable(void)
  3078. ;
  3079.     IF ¨ GENERATINGCFM THEN
  3080.         Macro
  3081.         _LMGetFScaleDisable   &dest=(sp)
  3082.             move.b            $0A63,&dest
  3083.         EndM
  3084.     ELSE
  3085.         IMPORT_CFM_FUNCTION LMGetFScaleDisable
  3086.     ENDIF
  3087.  
  3088. ;
  3089. ; pascal void LMSetFScaleDisable(UInt8 value)
  3090. ;
  3091.     IF ¨ GENERATINGCFM THEN
  3092.         Macro
  3093.         _LMSetFScaleDisable   &src=(sp)+
  3094.             move.b            &src,$0A63
  3095.         EndM
  3096.     ELSE
  3097.         IMPORT_CFM_FUNCTION LMSetFScaleDisable
  3098.     ENDIF
  3099.  
  3100. ;
  3101. ; pascal UniversalProcPtr LMGetDeskHook(void)
  3102. ;
  3103.     IF ¨ GENERATINGCFM THEN
  3104.         Macro
  3105.         _LMGetDeskHook        &dest=(sp)
  3106.             move.l            $0A6C,&dest
  3107.         EndM
  3108.     ELSE
  3109.         IMPORT_CFM_FUNCTION LMGetDeskHook
  3110.     ENDIF
  3111.  
  3112. ;
  3113. ; pascal void LMSetDeskHook(UniversalProcPtr value)
  3114. ;
  3115.     IF ¨ GENERATINGCFM THEN
  3116.         Macro
  3117.         _LMSetDeskHook        &src=(sp)+
  3118.             move.l            &src,$0A6C
  3119.         EndM
  3120.     ELSE
  3121.         IMPORT_CFM_FUNCTION LMSetDeskHook
  3122.     ENDIF
  3123.  
  3124. ;
  3125. ; pascal UniversalProcPtr LMGetTEDoText(void)
  3126. ;
  3127.     IF ¨ GENERATINGCFM THEN
  3128.         Macro
  3129.         _LMGetTEDoText        &dest=(sp)
  3130.             move.l            $0A70,&dest
  3131.         EndM
  3132.     ELSE
  3133.         IMPORT_CFM_FUNCTION LMGetTEDoText
  3134.     ENDIF
  3135.  
  3136. ;
  3137. ; pascal void LMSetTEDoText(UniversalProcPtr value)
  3138. ;
  3139.     IF ¨ GENERATINGCFM THEN
  3140.         Macro
  3141.         _LMSetTEDoText        &src=(sp)+
  3142.             move.l            &src,$0A70
  3143.         EndM
  3144.     ELSE
  3145.         IMPORT_CFM_FUNCTION LMSetTEDoText
  3146.     ENDIF
  3147.  
  3148. ;
  3149. ; pascal UniversalProcPtr LMGetTERecal(void)
  3150. ;
  3151.     IF ¨ GENERATINGCFM THEN
  3152.         Macro
  3153.         _LMGetTERecal         &dest=(sp)
  3154.             move.l            $0A74,&dest
  3155.         EndM
  3156.     ELSE
  3157.         IMPORT_CFM_FUNCTION LMGetTERecal
  3158.     ENDIF
  3159.  
  3160. ;
  3161. ; pascal void LMSetTERecal(UniversalProcPtr value)
  3162. ;
  3163.     IF ¨ GENERATINGCFM THEN
  3164.         Macro
  3165.         _LMSetTERecal         &src=(sp)+
  3166.             move.l            &src,$0A74
  3167.         EndM
  3168.     ELSE
  3169.         IMPORT_CFM_FUNCTION LMSetTERecal
  3170.     ENDIF
  3171.  
  3172. ;
  3173. ; pascal UniversalProcPtr LMGetResumeProc(void)
  3174. ;
  3175.     IF ¨ GENERATINGCFM THEN
  3176.         Macro
  3177.         _LMGetResumeProc      &dest=(sp)
  3178.             move.l            $0A8C,&dest
  3179.         EndM
  3180.     ELSE
  3181.         IMPORT_CFM_FUNCTION LMGetResumeProc
  3182.     ENDIF
  3183.  
  3184. ;
  3185. ; pascal void LMSetResumeProc(UniversalProcPtr value)
  3186. ;
  3187.     IF ¨ GENERATINGCFM THEN
  3188.         Macro
  3189.         _LMSetResumeProc      &src=(sp)+
  3190.             move.l            &src,$0A8C
  3191.         EndM
  3192.     ELSE
  3193.         IMPORT_CFM_FUNCTION LMSetResumeProc
  3194.     ENDIF
  3195.  
  3196. ;
  3197. ; pascal SInt16 LMGetANumber(void)
  3198. ;
  3199.     IF ¨ GENERATINGCFM THEN
  3200.         Macro
  3201.         _LMGetANumber         &dest=(sp)
  3202.             move.w            $0A98,&dest
  3203.         EndM
  3204.     ELSE
  3205.         IMPORT_CFM_FUNCTION LMGetANumber
  3206.     ENDIF
  3207.  
  3208. ;
  3209. ; pascal void LMSetANumber(SInt16 value)
  3210. ;
  3211.     IF ¨ GENERATINGCFM THEN
  3212.         Macro
  3213.         _LMSetANumber         &src=(sp)+
  3214.             move.w            &src,$0A98
  3215.         EndM
  3216.     ELSE
  3217.         IMPORT_CFM_FUNCTION LMSetANumber
  3218.     ENDIF
  3219.  
  3220. ;
  3221. ; pascal SInt16 LMGetACount(void)
  3222. ;
  3223.     IF ¨ GENERATINGCFM THEN
  3224.         Macro
  3225.         _LMGetACount          &dest=(sp)
  3226.             move.w            $0A9A,&dest
  3227.         EndM
  3228.     ELSE
  3229.         IMPORT_CFM_FUNCTION LMGetACount
  3230.     ENDIF
  3231.  
  3232. ;
  3233. ; pascal void LMSetACount(SInt16 value)
  3234. ;
  3235.     IF ¨ GENERATINGCFM THEN
  3236.         Macro
  3237.         _LMSetACount          &src=(sp)+
  3238.             move.w            &src,$0A9A
  3239.         EndM
  3240.     ELSE
  3241.         IMPORT_CFM_FUNCTION LMSetACount
  3242.     ENDIF
  3243.  
  3244. ;
  3245. ; pascal UniversalProcPtr LMGetDABeeper(void)
  3246. ;
  3247.     IF ¨ GENERATINGCFM THEN
  3248.         Macro
  3249.         _LMGetDABeeper        &dest=(sp)
  3250.             move.l            $0A9C,&dest
  3251.         EndM
  3252.     ELSE
  3253.         IMPORT_CFM_FUNCTION LMGetDABeeper
  3254.     ENDIF
  3255.  
  3256. ;
  3257. ; pascal void LMSetDABeeper(UniversalProcPtr value)
  3258. ;
  3259.     IF ¨ GENERATINGCFM THEN
  3260.         Macro
  3261.         _LMSetDABeeper        &src=(sp)+
  3262.             move.l            &src,$0A9C
  3263.         EndM
  3264.     ELSE
  3265.         IMPORT_CFM_FUNCTION LMSetDABeeper
  3266.     ENDIF
  3267.  
  3268. ;
  3269. ; pascal UInt16 LMGetTEScrpLength(void)
  3270. ;
  3271.     IF ¨ GENERATINGCFM THEN
  3272.         Macro
  3273.         _LMGetTEScrpLength    &dest=(sp)
  3274.             move.w            $0AB0,&dest
  3275.         EndM
  3276.     ELSE
  3277.         IMPORT_CFM_FUNCTION LMGetTEScrpLength
  3278.     ENDIF
  3279.  
  3280. ;
  3281. ; pascal void LMSetTEScrpLength(UInt16 value)
  3282. ;
  3283.     IF ¨ GENERATINGCFM THEN
  3284.         Macro
  3285.         _LMSetTEScrpLength    &src=(sp)+
  3286.             move.w            &src,$0AB0
  3287.         EndM
  3288.     ELSE
  3289.         IMPORT_CFM_FUNCTION LMSetTEScrpLength
  3290.     ENDIF
  3291.  
  3292. ;
  3293. ; pascal Handle LMGetTEScrpHandle(void)
  3294. ;
  3295.     IF ¨ GENERATINGCFM THEN
  3296.         Macro
  3297.         _LMGetTEScrpHandle    &dest=(sp)
  3298.             move.l            $0AB4,&dest
  3299.         EndM
  3300.     ELSE
  3301.         IMPORT_CFM_FUNCTION LMGetTEScrpHandle
  3302.     ENDIF
  3303.  
  3304. ;
  3305. ; pascal void LMSetTEScrpHandle(Handle value)
  3306. ;
  3307.     IF ¨ GENERATINGCFM THEN
  3308.         Macro
  3309.         _LMSetTEScrpHandle    &src=(sp)+
  3310.             move.l            &src,$0AB4
  3311.         EndM
  3312.     ELSE
  3313.         IMPORT_CFM_FUNCTION LMSetTEScrpHandle
  3314.     ENDIF
  3315.  
  3316. ;
  3317. ; pascal Handle LMGetAppParmHandle(void)
  3318. ;
  3319.     IF ¨ GENERATINGCFM THEN
  3320.         Macro
  3321.         _LMGetAppParmHandle   &dest=(sp)
  3322.             move.l            $0AEC,&dest
  3323.         EndM
  3324.     ELSE
  3325.         IMPORT_CFM_FUNCTION LMGetAppParmHandle
  3326.     ENDIF
  3327.  
  3328. ;
  3329. ; pascal void LMSetAppParmHandle(Handle value)
  3330. ;
  3331.     IF ¨ GENERATINGCFM THEN
  3332.         Macro
  3333.         _LMSetAppParmHandle   &src=(sp)+
  3334.             move.l            &src,$0AEC
  3335.         EndM
  3336.     ELSE
  3337.         IMPORT_CFM_FUNCTION LMSetAppParmHandle
  3338.     ENDIF
  3339.  
  3340. ;
  3341. ; pascal SInt16 LMGetDSErrCode(void)
  3342. ;
  3343.     IF ¨ GENERATINGCFM THEN
  3344.         Macro
  3345.         _LMGetDSErrCode       &dest=(sp)
  3346.             move.w            $0AF0,&dest
  3347.         EndM
  3348.     ELSE
  3349.         IMPORT_CFM_FUNCTION LMGetDSErrCode
  3350.     ENDIF
  3351.  
  3352. ;
  3353. ; pascal void LMSetDSErrCode(SInt16 value)
  3354. ;
  3355.     IF ¨ GENERATINGCFM THEN
  3356.         Macro
  3357.         _LMSetDSErrCode       &src=(sp)+
  3358.             move.w            &src,$0AF0
  3359.         EndM
  3360.     ELSE
  3361.         IMPORT_CFM_FUNCTION LMSetDSErrCode
  3362.     ENDIF
  3363.  
  3364. ;
  3365. ; pascal ResErrUPP LMGetResErrProc(void)
  3366. ;
  3367.     IF ¨ GENERATINGCFM THEN
  3368.         Macro
  3369.         _LMGetResErrProc      &dest=(sp)
  3370.             move.l            $0AF2,&dest
  3371.         EndM
  3372.     ELSE
  3373.         IMPORT_CFM_FUNCTION LMGetResErrProc
  3374.     ENDIF
  3375.  
  3376. ;
  3377. ; pascal void LMSetResErrProc(ResErrUPP value)
  3378. ;
  3379.     IF ¨ GENERATINGCFM THEN
  3380.         Macro
  3381.         _LMSetResErrProc      &src=(sp)+
  3382.             move.l            &src,$0AF2
  3383.         EndM
  3384.     ELSE
  3385.         IMPORT_CFM_FUNCTION LMSetResErrProc
  3386.     ENDIF
  3387.  
  3388. ;
  3389. ; pascal SInt16 LMGetDlgFont(void)
  3390. ;
  3391.     IF ¨ GENERATINGCFM THEN
  3392.         Macro
  3393.         _LMGetDlgFont         &dest=(sp)
  3394.             move.w            $0AFA,&dest
  3395.         EndM
  3396.     ELSE
  3397.         IMPORT_CFM_FUNCTION LMGetDlgFont
  3398.     ENDIF
  3399.  
  3400. ;
  3401. ; pascal void LMSetDlgFont(SInt16 value)
  3402. ;
  3403.     IF ¨ GENERATINGCFM THEN
  3404.         Macro
  3405.         _LMSetDlgFont         &src=(sp)+
  3406.             move.w            &src,$0AFA
  3407.         EndM
  3408.     ELSE
  3409.         IMPORT_CFM_FUNCTION LMSetDlgFont
  3410.     ENDIF
  3411.  
  3412. ;
  3413. ; pascal Ptr LMGetWidthPtr(void)
  3414. ;
  3415.     IF ¨ GENERATINGCFM THEN
  3416.         Macro
  3417.         _LMGetWidthPtr        &dest=(sp)
  3418.             move.l            $0B10,&dest
  3419.         EndM
  3420.     ELSE
  3421.         IMPORT_CFM_FUNCTION LMGetWidthPtr
  3422.     ENDIF
  3423.  
  3424. ;
  3425. ; pascal void LMSetWidthPtr(Ptr value)
  3426. ;
  3427.     IF ¨ GENERATINGCFM THEN
  3428.         Macro
  3429.         _LMSetWidthPtr        &src=(sp)+
  3430.             move.l            &src,$0B10
  3431.         EndM
  3432.     ELSE
  3433.         IMPORT_CFM_FUNCTION LMSetWidthPtr
  3434.     ENDIF
  3435.  
  3436. ;
  3437. ; pascal Ptr LMGetATalkHk2(void)
  3438. ;
  3439.     IF ¨ GENERATINGCFM THEN
  3440.         Macro
  3441.         _LMGetATalkHk2        &dest=(sp)
  3442.             move.l            $0B18,&dest
  3443.         EndM
  3444.     ELSE
  3445.         IMPORT_CFM_FUNCTION LMGetATalkHk2
  3446.     ENDIF
  3447.  
  3448. ;
  3449. ; pascal void LMSetATalkHk2(Ptr value)
  3450. ;
  3451.     IF ¨ GENERATINGCFM THEN
  3452.         Macro
  3453.         _LMSetATalkHk2        &src=(sp)+
  3454.             move.l            &src,$0B18
  3455.         EndM
  3456.     ELSE
  3457.         IMPORT_CFM_FUNCTION LMSetATalkHk2
  3458.     ENDIF
  3459.  
  3460. ;
  3461. ; pascal SInt16 LMGetHWCfgFlags(void)
  3462. ;
  3463.     IF ¨ GENERATINGCFM THEN
  3464.         Macro
  3465.         _LMGetHWCfgFlags      &dest=(sp)
  3466.             move.w            $0B22,&dest
  3467.         EndM
  3468.     ELSE
  3469.         IMPORT_CFM_FUNCTION LMGetHWCfgFlags
  3470.     ENDIF
  3471.  
  3472. ;
  3473. ; pascal void LMSetHWCfgFlags(SInt16 value)
  3474. ;
  3475.     IF ¨ GENERATINGCFM THEN
  3476.         Macro
  3477.         _LMSetHWCfgFlags      &src=(sp)+
  3478.             move.w            &src,$0B22
  3479.         EndM
  3480.     ELSE
  3481.         IMPORT_CFM_FUNCTION LMSetHWCfgFlags
  3482.     ENDIF
  3483.  
  3484. ;
  3485. ; pascal Handle LMGetWidthTabHandle(void)
  3486. ;
  3487.     IF ¨ GENERATINGCFM THEN
  3488.         Macro
  3489.         _LMGetWidthTabHandle  &dest=(sp)
  3490.             move.l            $0B2A,&dest
  3491.         EndM
  3492.     ELSE
  3493.         IMPORT_CFM_FUNCTION LMGetWidthTabHandle
  3494.     ENDIF
  3495.  
  3496. ;
  3497. ; pascal void LMSetWidthTabHandle(Handle value)
  3498. ;
  3499.     IF ¨ GENERATINGCFM THEN
  3500.         Macro
  3501.         _LMSetWidthTabHandle  &src=(sp)+
  3502.             move.l            &src,$0B2A
  3503.         EndM
  3504.     ELSE
  3505.         IMPORT_CFM_FUNCTION LMSetWidthTabHandle
  3506.     ENDIF
  3507.  
  3508. ;
  3509. ; pascal SInt32 LMGetLastSPExtra(void)
  3510. ;
  3511.     IF ¨ GENERATINGCFM THEN
  3512.         Macro
  3513.         _LMGetLastSPExtra     &dest=(sp)
  3514.             move.l            $0B4C,&dest
  3515.         EndM
  3516.     ELSE
  3517.         IMPORT_CFM_FUNCTION LMGetLastSPExtra
  3518.     ENDIF
  3519.  
  3520. ;
  3521. ; pascal void LMSetLastSPExtra(SInt32 value)
  3522. ;
  3523.     IF ¨ GENERATINGCFM THEN
  3524.         Macro
  3525.         _LMSetLastSPExtra     &src=(sp)+
  3526.             move.l            &src,$0B4C
  3527.         EndM
  3528.     ELSE
  3529.         IMPORT_CFM_FUNCTION LMSetLastSPExtra
  3530.     ENDIF
  3531.  
  3532. ;
  3533. ; pascal SInt32 LMGetMenuDisable(void)
  3534. ;
  3535.     IF ¨ GENERATINGCFM THEN
  3536.         Macro
  3537.         _LMGetMenuDisable     &dest=(sp)
  3538.             move.l            $0B54,&dest
  3539.         EndM
  3540.     ELSE
  3541.         IMPORT_CFM_FUNCTION LMGetMenuDisable
  3542.     ENDIF
  3543.  
  3544. ;
  3545. ; pascal void LMSetMenuDisable(SInt32 value)
  3546. ;
  3547.     IF ¨ GENERATINGCFM THEN
  3548.         Macro
  3549.         _LMSetMenuDisable     &src=(sp)+
  3550.             move.l            &src,$0B54
  3551.         EndM
  3552.     ELSE
  3553.         IMPORT_CFM_FUNCTION LMSetMenuDisable
  3554.     ENDIF
  3555.  
  3556. ;
  3557. ; pascal UInt8 LMGetROMMapInsert(void)
  3558. ;
  3559.     IF ¨ GENERATINGCFM THEN
  3560.         Macro
  3561.         _LMGetROMMapInsert    &dest=(sp)
  3562.             move.b            $0B9E,&dest
  3563.         EndM
  3564.     ELSE
  3565.         IMPORT_CFM_FUNCTION LMGetROMMapInsert
  3566.     ENDIF
  3567.  
  3568. ;
  3569. ; pascal void LMSetROMMapInsert(UInt8 value)
  3570. ;
  3571.     IF ¨ GENERATINGCFM THEN
  3572.         Macro
  3573.         _LMSetROMMapInsert    &src=(sp)+
  3574.             move.b            &src,$0B9E
  3575.         EndM
  3576.     ELSE
  3577.         IMPORT_CFM_FUNCTION LMSetROMMapInsert
  3578.     ENDIF
  3579.  
  3580. ;
  3581. ; pascal UInt8 LMGetTmpResLoad(void)
  3582. ;
  3583.     IF ¨ GENERATINGCFM THEN
  3584.         Macro
  3585.         _LMGetTmpResLoad      &dest=(sp)
  3586.             move.b            $0B9F,&dest
  3587.         EndM
  3588.     ELSE
  3589.         IMPORT_CFM_FUNCTION LMGetTmpResLoad
  3590.     ENDIF
  3591.  
  3592. ;
  3593. ; pascal void LMSetTmpResLoad(UInt8 value)
  3594. ;
  3595.     IF ¨ GENERATINGCFM THEN
  3596.         Macro
  3597.         _LMSetTmpResLoad      &src=(sp)+
  3598.             move.b            &src,$0B9F
  3599.         EndM
  3600.     ELSE
  3601.         IMPORT_CFM_FUNCTION LMSetTmpResLoad
  3602.     ENDIF
  3603.  
  3604. ;
  3605. ; pascal Ptr LMGetIntlSpec(void)
  3606. ;
  3607.     IF ¨ GENERATINGCFM THEN
  3608.         Macro
  3609.         _LMGetIntlSpec        &dest=(sp)
  3610.             move.l            $0BA0,&dest
  3611.         EndM
  3612.     ELSE
  3613.         IMPORT_CFM_FUNCTION LMGetIntlSpec
  3614.     ENDIF
  3615.  
  3616. ;
  3617. ; pascal void LMSetIntlSpec(Ptr value)
  3618. ;
  3619.     IF ¨ GENERATINGCFM THEN
  3620.         Macro
  3621.         _LMSetIntlSpec        &src=(sp)+
  3622.             move.l            &src,$0BA0
  3623.         EndM
  3624.     ELSE
  3625.         IMPORT_CFM_FUNCTION LMSetIntlSpec
  3626.     ENDIF
  3627.  
  3628. ;
  3629. ; pascal UInt8 LMGetWordRedraw(void)
  3630. ;
  3631.     IF ¨ GENERATINGCFM THEN
  3632.         Macro
  3633.         _LMGetWordRedraw      &dest=(sp)
  3634.             move.b            $0BA5,&dest
  3635.         EndM
  3636.     ELSE
  3637.         IMPORT_CFM_FUNCTION LMGetWordRedraw
  3638.     ENDIF
  3639.  
  3640. ;
  3641. ; pascal void LMSetWordRedraw(UInt8 value)
  3642. ;
  3643.     IF ¨ GENERATINGCFM THEN
  3644.         Macro
  3645.         _LMSetWordRedraw      &src=(sp)+
  3646.             move.b            &src,$0BA5
  3647.         EndM
  3648.     ELSE
  3649.         IMPORT_CFM_FUNCTION LMSetWordRedraw
  3650.     ENDIF
  3651.  
  3652. ;
  3653. ; pascal SInt16 LMGetSysFontFam(void)
  3654. ;
  3655.     IF ¨ GENERATINGCFM THEN
  3656.         Macro
  3657.         _LMGetSysFontFam      &dest=(sp)
  3658.             move.w            $0BA6,&dest
  3659.         EndM
  3660.     ELSE
  3661.         IMPORT_CFM_FUNCTION LMGetSysFontFam
  3662.     ENDIF
  3663.  
  3664. ;
  3665. ; pascal void LMSetSysFontFam(SInt16 value)
  3666. ;
  3667.     IF ¨ GENERATINGCFM THEN
  3668.         Macro
  3669.         _LMSetSysFontFam      &src=(sp)+
  3670.             move.w            &src,$0BA6
  3671.         EndM
  3672.     ELSE
  3673.         IMPORT_CFM_FUNCTION LMSetSysFontFam
  3674.     ENDIF
  3675.  
  3676. ;
  3677. ; pascal SInt16 LMGetSysFontSize(void)
  3678. ;
  3679.     IF ¨ GENERATINGCFM THEN
  3680.         Macro
  3681.         _LMGetSysFontSize     &dest=(sp)
  3682.             move.w            $0BA8,&dest
  3683.         EndM
  3684.     ELSE
  3685.         IMPORT_CFM_FUNCTION LMGetSysFontSize
  3686.     ENDIF
  3687.  
  3688. ;
  3689. ; pascal void LMSetSysFontSize(SInt16 value)
  3690. ;
  3691.     IF ¨ GENERATINGCFM THEN
  3692.         Macro
  3693.         _LMSetSysFontSize     &src=(sp)+
  3694.             move.w            &src,$0BA8
  3695.         EndM
  3696.     ELSE
  3697.         IMPORT_CFM_FUNCTION LMSetSysFontSize
  3698.     ENDIF
  3699.  
  3700. ;
  3701. ; pascal SInt16 LMGetMBarHeight(void)
  3702. ;
  3703.     IF ¨ GENERATINGCFM THEN
  3704.         Macro
  3705.         _LMGetMBarHeight      &dest=(sp)
  3706.             move.w            $0BAA,&dest
  3707.         EndM
  3708.     ELSE
  3709.         IMPORT_CFM_FUNCTION LMGetMBarHeight
  3710.     ENDIF
  3711.  
  3712. ;
  3713. ; pascal void LMSetMBarHeight(SInt16 value)
  3714. ;
  3715.     IF ¨ GENERATINGCFM THEN
  3716.         Macro
  3717.         _LMSetMBarHeight      &src=(sp)+
  3718.             move.w            &src,$0BAA
  3719.         EndM
  3720.     ELSE
  3721.         IMPORT_CFM_FUNCTION LMSetMBarHeight
  3722.     ENDIF
  3723.  
  3724. ;
  3725. ; pascal SInt16 LMGetTESysJust(void)
  3726. ;
  3727.     IF ¨ GENERATINGCFM THEN
  3728.         Macro
  3729.         _LMGetTESysJust       &dest=(sp)
  3730.             move.w            $0BAC,&dest
  3731.         EndM
  3732.     ELSE
  3733.         IMPORT_CFM_FUNCTION LMGetTESysJust
  3734.     ENDIF
  3735.  
  3736. ;
  3737. ; pascal void LMSetTESysJust(SInt16 value)
  3738. ;
  3739.     IF ¨ GENERATINGCFM THEN
  3740.         Macro
  3741.         _LMSetTESysJust       &src=(sp)+
  3742.             move.w            &src,$0BAC
  3743.         EndM
  3744.     ELSE
  3745.         IMPORT_CFM_FUNCTION LMSetTESysJust
  3746.     ENDIF
  3747.  
  3748. ;
  3749. ; pascal Handle LMGetLastFOND(void)
  3750. ;
  3751.     IF ¨ GENERATINGCFM THEN
  3752.         Macro
  3753.         _LMGetLastFOND        &dest=(sp)
  3754.             move.l            $0BC2,&dest
  3755.         EndM
  3756.     ELSE
  3757.         IMPORT_CFM_FUNCTION LMGetLastFOND
  3758.     ENDIF
  3759.  
  3760. ;
  3761. ; pascal void LMSetLastFOND(Handle value)
  3762. ;
  3763.     IF ¨ GENERATINGCFM THEN
  3764.         Macro
  3765.         _LMSetLastFOND        &src=(sp)+
  3766.             move.l            &src,$0BC2
  3767.         EndM
  3768.     ELSE
  3769.         IMPORT_CFM_FUNCTION LMSetLastFOND
  3770.     ENDIF
  3771.  
  3772. ;
  3773. ; pascal UInt8 LMGetFractEnable(void)
  3774. ;
  3775.     IF ¨ GENERATINGCFM THEN
  3776.         Macro
  3777.         _LMGetFractEnable     &dest=(sp)
  3778.             move.b            $0BF4,&dest
  3779.         EndM
  3780.     ELSE
  3781.         IMPORT_CFM_FUNCTION LMGetFractEnable
  3782.     ENDIF
  3783.  
  3784. ;
  3785. ; pascal void LMSetFractEnable(UInt8 value)
  3786. ;
  3787.     IF ¨ GENERATINGCFM THEN
  3788.         Macro
  3789.         _LMSetFractEnable     &src=(sp)+
  3790.             move.b            &src,$0BF4
  3791.         EndM
  3792.     ELSE
  3793.         IMPORT_CFM_FUNCTION LMSetFractEnable
  3794.     ENDIF
  3795.  
  3796. ;
  3797. ; pascal UInt8 LMGetMMU32Bit(void)
  3798. ;
  3799.     IF ¨ GENERATINGCFM THEN
  3800.         Macro
  3801.         _LMGetMMU32Bit        &dest=(sp)
  3802.             move.b            $0CB2,&dest
  3803.         EndM
  3804.     ELSE
  3805.         IMPORT_CFM_FUNCTION LMGetMMU32Bit
  3806.     ENDIF
  3807.  
  3808. ;
  3809. ; pascal void LMSetMMU32Bit(UInt8 value)
  3810. ;
  3811.     IF ¨ GENERATINGCFM THEN
  3812.         Macro
  3813.         _LMSetMMU32Bit        &src=(sp)+
  3814.             move.b            &src,$0CB2
  3815.         EndM
  3816.     ELSE
  3817.         IMPORT_CFM_FUNCTION LMSetMMU32Bit
  3818.     ENDIF
  3819.  
  3820. ;
  3821. ; pascal GDHandle LMGetTheGDevice(void)
  3822. ;
  3823.     IF ¨ GENERATINGCFM THEN
  3824.         Macro
  3825.         _LMGetTheGDevice      &dest=(sp)
  3826.             move.l            $0CC8,&dest
  3827.         EndM
  3828.     ELSE
  3829.         IMPORT_CFM_FUNCTION LMGetTheGDevice
  3830.     ENDIF
  3831.  
  3832. ;
  3833. ; pascal void LMSetTheGDevice(GDHandle value)
  3834. ;
  3835.     IF ¨ GENERATINGCFM THEN
  3836.         Macro
  3837.         _LMSetTheGDevice      &src=(sp)+
  3838.             move.l            &src,$0CC8
  3839.         EndM
  3840.     ELSE
  3841.         IMPORT_CFM_FUNCTION LMSetTheGDevice
  3842.     ENDIF
  3843.  
  3844. ;
  3845. ; pascal PixPatHandle LMGetDeskCPat(void)
  3846. ;
  3847.     IF ¨ GENERATINGCFM THEN
  3848.         Macro
  3849.         _LMGetDeskCPat        &dest=(sp)
  3850.             move.l            $0CD8,&dest
  3851.         EndM
  3852.     ELSE
  3853.         IMPORT_CFM_FUNCTION LMGetDeskCPat
  3854.     ENDIF
  3855.  
  3856. ;
  3857. ; pascal void LMSetDeskCPat(PixPatHandle value)
  3858. ;
  3859.     IF ¨ GENERATINGCFM THEN
  3860.         Macro
  3861.         _LMSetDeskCPat        &src=(sp)+
  3862.             move.l            &src,$0CD8
  3863.         EndM
  3864.     ELSE
  3865.         IMPORT_CFM_FUNCTION LMSetDeskCPat
  3866.     ENDIF
  3867.  
  3868. ;
  3869. ; pascal SInt16 LMGetTimeDBRA(void)
  3870. ;
  3871.     IF ¨ GENERATINGCFM THEN
  3872.         Macro
  3873.         _LMGetTimeDBRA        &dest=(sp)
  3874.             move.w            $0D00,&dest
  3875.         EndM
  3876.     ELSE
  3877.         IMPORT_CFM_FUNCTION LMGetTimeDBRA
  3878.     ENDIF
  3879.  
  3880. ;
  3881. ; pascal void LMSetTimeDBRA(SInt16 value)
  3882. ;
  3883.     IF ¨ GENERATINGCFM THEN
  3884.         Macro
  3885.         _LMSetTimeDBRA        &src=(sp)+
  3886.             move.w            &src,$0D00
  3887.         EndM
  3888.     ELSE
  3889.         IMPORT_CFM_FUNCTION LMSetTimeDBRA
  3890.     ENDIF
  3891.  
  3892. ;
  3893. ; pascal SInt16 LMGetTimeSCCDB(void)
  3894. ;
  3895.     IF ¨ GENERATINGCFM THEN
  3896.         Macro
  3897.         _LMGetTimeSCCDB       &dest=(sp)
  3898.             move.w            $0D02,&dest
  3899.         EndM
  3900.     ELSE
  3901.         IMPORT_CFM_FUNCTION LMGetTimeSCCDB
  3902.     ENDIF
  3903.  
  3904. ;
  3905. ; pascal void LMSetTimeSCCDB(SInt16 value)
  3906. ;
  3907.     IF ¨ GENERATINGCFM THEN
  3908.         Macro
  3909.         _LMSetTimeSCCDB       &src=(sp)+
  3910.             move.w            &src,$0D02
  3911.         EndM
  3912.     ELSE
  3913.         IMPORT_CFM_FUNCTION LMSetTimeSCCDB
  3914.     ENDIF
  3915.  
  3916. ;
  3917. ; pascal UniversalProcPtr LMGetJVBLTask(void)
  3918. ;
  3919.     IF ¨ GENERATINGCFM THEN
  3920.         Macro
  3921.         _LMGetJVBLTask        &dest=(sp)
  3922.             move.l            $0D28,&dest
  3923.         EndM
  3924.     ELSE
  3925.         IMPORT_CFM_FUNCTION LMGetJVBLTask
  3926.     ENDIF
  3927.  
  3928. ;
  3929. ; pascal void LMSetJVBLTask(UniversalProcPtr value)
  3930. ;
  3931.     IF ¨ GENERATINGCFM THEN
  3932.         Macro
  3933.         _LMSetJVBLTask        &src=(sp)+
  3934.             move.l            &src,$0D28
  3935.         EndM
  3936.     ELSE
  3937.         IMPORT_CFM_FUNCTION LMSetJVBLTask
  3938.     ENDIF
  3939.  
  3940. ;
  3941. ; pascal Handle LMGetSynListHandle(void)
  3942. ;
  3943.     IF ¨ GENERATINGCFM THEN
  3944.         Macro
  3945.         _LMGetSynListHandle   &dest=(sp)
  3946.             move.l            $0D32,&dest
  3947.         EndM
  3948.     ELSE
  3949.         IMPORT_CFM_FUNCTION LMGetSynListHandle
  3950.     ENDIF
  3951.  
  3952. ;
  3953. ; pascal void LMSetSynListHandle(Handle value)
  3954. ;
  3955.     IF ¨ GENERATINGCFM THEN
  3956.         Macro
  3957.         _LMSetSynListHandle   &src=(sp)+
  3958.             move.l            &src,$0D32
  3959.         EndM
  3960.     ELSE
  3961.         IMPORT_CFM_FUNCTION LMSetSynListHandle
  3962.     ENDIF
  3963.  
  3964. ;
  3965. ; pascal MCTableHandle LMGetMenuCInfo(void)
  3966. ;
  3967.     IF ¨ GENERATINGCFM THEN
  3968.         Macro
  3969.         _LMGetMenuCInfo       &dest=(sp)
  3970.             move.l            $0D50,&dest
  3971.         EndM
  3972.     ELSE
  3973.         IMPORT_CFM_FUNCTION LMGetMenuCInfo
  3974.     ENDIF
  3975.  
  3976. ;
  3977. ; pascal void LMSetMenuCInfo(MCTableHandle value)
  3978. ;
  3979.     IF ¨ GENERATINGCFM THEN
  3980.         Macro
  3981.         _LMSetMenuCInfo       &src=(sp)+
  3982.             move.l            &src,$0D50
  3983.         EndM
  3984.     ELSE
  3985.         IMPORT_CFM_FUNCTION LMSetMenuCInfo
  3986.     ENDIF
  3987.  
  3988. ;
  3989. ; pascal UniversalProcPtr LMGetJDTInstall(void)
  3990. ;
  3991.     IF ¨ GENERATINGCFM THEN
  3992.         Macro
  3993.         _LMGetJDTInstall      &dest=(sp)
  3994.             move.l            $0D9C,&dest
  3995.         EndM
  3996.     ELSE
  3997.         IMPORT_CFM_FUNCTION LMGetJDTInstall
  3998.     ENDIF
  3999.  
  4000. ;
  4001. ; pascal void LMSetJDTInstall(UniversalProcPtr value)
  4002. ;
  4003.     IF ¨ GENERATINGCFM THEN
  4004.         Macro
  4005.         _LMSetJDTInstall      &src=(sp)+
  4006.             move.l            &src,$0D9C
  4007.         EndM
  4008.     ELSE
  4009.         IMPORT_CFM_FUNCTION LMSetJDTInstall
  4010.     ENDIF
  4011.  
  4012. ;
  4013. ; pascal SInt16 LMGetTimeSCSIDB(void)
  4014. ;
  4015.     IF ¨ GENERATINGCFM THEN
  4016.         Macro
  4017.         _LMGetTimeSCSIDB      &dest=(sp)
  4018.             move.w            $0B24,&dest
  4019.         EndM
  4020.     ELSE
  4021.         IMPORT_CFM_FUNCTION LMGetTimeSCSIDB
  4022.     ENDIF
  4023.  
  4024. ;
  4025. ; pascal void LMSetTimeSCSIDB(SInt16 value)
  4026. ;
  4027.     IF ¨ GENERATINGCFM THEN
  4028.         Macro
  4029.         _LMSetTimeSCSIDB      &src=(sp)+
  4030.             move.w            &src,$0B24
  4031.         EndM
  4032.     ELSE
  4033.         IMPORT_CFM_FUNCTION LMSetTimeSCSIDB
  4034.     ENDIF
  4035.  
  4036. ;
  4037. ;*************************************************************************************
  4038. ;
  4039. ;    MORE COMPLEX LOWMEM ACCESSORS
  4040. ;
  4041. ;*************************************************************************************
  4042. ;
  4043.     IF GENERATING68K ** ¨ GENERATINGCFM THEN
  4044. ;
  4045. ;*************************************************************************************
  4046. ;    "BIG DATA"
  4047. ;    
  4048. ;        These lowmem accessors access big (> 4 bytes) values.
  4049. ;*************************************************************************************
  4050. ;
  4051. ;
  4052. ;*************************************************************************************
  4053. ;    "BLOCKMOVE ACCESSORS"
  4054. ;    
  4055. ;        These lowmem accessors use the BlockMove trap
  4056. ;*************************************************************************************
  4057. ;
  4058. ;
  4059. ;*************************************************************************************
  4060. ;    "INDEXED ACCESSORS"
  4061. ;    
  4062. ;        These lowmem accessors take an index parameter to get/set an indexed
  4063. ;        lowmem global.
  4064. ;*************************************************************************************
  4065. ;
  4066.     ELSE
  4067. ;
  4068. ;*************************************************************************************
  4069. ;    "BIG DATA"
  4070. ;    
  4071. ;        These lowmem accessors access big (> 4 bytes) values.
  4072. ;*************************************************************************************
  4073. ;
  4074. ;
  4075. ; pascal void LMGetDSAlertRect(Rect *dsAlertRectValue)
  4076. ;
  4077.     IF GENERATINGCFM THEN
  4078.         IMPORT_CFM_FUNCTION LMGetDSAlertRect
  4079.     ENDIF
  4080.  
  4081. ;
  4082. ; pascal void LMSetDSAlertRect(const Rect *dsAlertRectValue)
  4083. ;
  4084.     IF GENERATINGCFM THEN
  4085.         IMPORT_CFM_FUNCTION LMSetDSAlertRect
  4086.     ENDIF
  4087.  
  4088. ;
  4089. ; pascal void LMGetDragPattern(Pattern *dragPatternValue)
  4090. ;
  4091.     IF GENERATINGCFM THEN
  4092.         IMPORT_CFM_FUNCTION LMGetDragPattern
  4093.     ENDIF
  4094.  
  4095. ;
  4096. ; pascal void LMSetDragPattern(const Pattern *dragPatternValue)
  4097. ;
  4098.     IF GENERATINGCFM THEN
  4099.         IMPORT_CFM_FUNCTION LMSetDragPattern
  4100.     ENDIF
  4101.  
  4102. ;
  4103. ; pascal void LMGetDeskPattern(Pattern *deskPatternValue)
  4104. ;
  4105.     IF GENERATINGCFM THEN
  4106.         IMPORT_CFM_FUNCTION LMGetDeskPattern
  4107.     ENDIF
  4108.  
  4109. ;
  4110. ; pascal void LMSetDeskPattern(const Pattern *deskPatternValue)
  4111. ;
  4112.     IF GENERATINGCFM THEN
  4113.         IMPORT_CFM_FUNCTION LMSetDeskPattern
  4114.     ENDIF
  4115.  
  4116. ;
  4117. ; pascal void LMGetHiliteRGB(RGBColor *hiliteRGBValue)
  4118. ;
  4119.     IF GENERATINGCFM THEN
  4120.         IMPORT_CFM_FUNCTION LMGetHiliteRGB
  4121.     ENDIF
  4122.  
  4123. ;
  4124. ; pascal void LMSetHiliteRGB(const RGBColor *hiliteRGBValue)
  4125. ;
  4126.     IF GENERATINGCFM THEN
  4127.         IMPORT_CFM_FUNCTION LMSetHiliteRGB
  4128.     ENDIF
  4129.  
  4130. ;
  4131. ; pascal QHdrPtr LMGetEventQueue(void )
  4132. ;
  4133.     IF GENERATINGCFM THEN
  4134.         IMPORT_CFM_FUNCTION LMGetEventQueue
  4135.     ENDIF
  4136.  
  4137. ;
  4138. ; pascal void LMSetEventQueue(QHdrPtr eventQueueValue)
  4139. ;
  4140.     IF GENERATINGCFM THEN
  4141.         IMPORT_CFM_FUNCTION LMSetEventQueue
  4142.     ENDIF
  4143.  
  4144. ;
  4145. ; pascal QHdrPtr LMGetVBLQueue(void )
  4146. ;
  4147.     IF GENERATINGCFM THEN
  4148.         IMPORT_CFM_FUNCTION LMGetVBLQueue
  4149.     ENDIF
  4150.  
  4151. ;
  4152. ; pascal void LMSetVBLQueue(QHdrPtr vblQueueValue)
  4153. ;
  4154.     IF GENERATINGCFM THEN
  4155.         IMPORT_CFM_FUNCTION LMSetVBLQueue
  4156.     ENDIF
  4157.  
  4158. ;
  4159. ; pascal QHdrPtr LMGetDrvQHdr(void )
  4160. ;
  4161.     IF GENERATINGCFM THEN
  4162.         IMPORT_CFM_FUNCTION LMGetDrvQHdr
  4163.     ENDIF
  4164.  
  4165. ;
  4166. ; pascal void LMSetDrvQHdr(QHdrPtr drvQHdrValue)
  4167. ;
  4168.     IF GENERATINGCFM THEN
  4169.         IMPORT_CFM_FUNCTION LMSetDrvQHdr
  4170.     ENDIF
  4171.  
  4172. ;
  4173. ; pascal QHdrPtr LMGetVCBQHdr(void )
  4174. ;
  4175.     IF GENERATINGCFM THEN
  4176.         IMPORT_CFM_FUNCTION LMGetVCBQHdr
  4177.     ENDIF
  4178.  
  4179. ;
  4180. ; pascal void LMSetVCBQHdr(QHdrPtr vcbQHdrValue)
  4181. ;
  4182.     IF GENERATINGCFM THEN
  4183.         IMPORT_CFM_FUNCTION LMSetVCBQHdr
  4184.     ENDIF
  4185.  
  4186. ;
  4187. ; pascal QHdrPtr LMGetDTQueue(void )
  4188. ;
  4189.     IF GENERATINGCFM THEN
  4190.         IMPORT_CFM_FUNCTION LMGetDTQueue
  4191.     ENDIF
  4192.  
  4193. ;
  4194. ; pascal void LMSetDTQueue(QHdrPtr dtQueueValue)
  4195. ;
  4196.     IF GENERATINGCFM THEN
  4197.         IMPORT_CFM_FUNCTION LMSetDTQueue
  4198.     ENDIF
  4199.  
  4200. ;
  4201. ; pascal QHdrPtr LMGetFSQHdr(void )
  4202. ;
  4203.     IF GENERATINGCFM THEN
  4204.         IMPORT_CFM_FUNCTION LMGetFSQHdr
  4205.     ENDIF
  4206.  
  4207. ;
  4208. ;*************************************************************************************
  4209. ;    "BLOCKMOVE ACCESSORS"
  4210. ;    
  4211. ;        These lowmem accessors use the BlockMove trap
  4212. ;*************************************************************************************
  4213. ;
  4214. ;
  4215. ; pascal StringPtr LMGetCurApName(void )
  4216. ;
  4217.     IF GENERATINGCFM THEN
  4218.         IMPORT_CFM_FUNCTION LMGetCurApName
  4219.     ENDIF
  4220.  
  4221. ;
  4222. ; pascal void LMSetCurApName(ConstStr31Param curApNameValue)
  4223. ;
  4224.     IF GENERATINGCFM THEN
  4225.         IMPORT_CFM_FUNCTION LMSetCurApName
  4226.     ENDIF
  4227.  
  4228. ;
  4229. ; pascal StringPtr LMGetSysResName(void )
  4230. ;
  4231.     IF GENERATINGCFM THEN
  4232.         IMPORT_CFM_FUNCTION LMGetSysResName
  4233.     ENDIF
  4234.  
  4235. ;
  4236. ; pascal void LMSetSysResName(ConstStr15Param sysResNameValue)
  4237. ;
  4238.     IF GENERATINGCFM THEN
  4239.         IMPORT_CFM_FUNCTION LMSetSysResName
  4240.     ENDIF
  4241.  
  4242. ;
  4243. ; pascal StringPtr LMGetFinderName(void )
  4244. ;
  4245.     IF GENERATINGCFM THEN
  4246.         IMPORT_CFM_FUNCTION LMGetFinderName
  4247.     ENDIF
  4248.  
  4249. ;
  4250. ; pascal void LMSetFinderName(ConstStr15Param finderNameValue)
  4251. ;
  4252.     IF GENERATINGCFM THEN
  4253.         IMPORT_CFM_FUNCTION LMSetFinderName
  4254.     ENDIF
  4255.  
  4256. ;
  4257. ; pascal Ptr LMGetScratch20(void )
  4258. ;
  4259.     IF GENERATINGCFM THEN
  4260.         IMPORT_CFM_FUNCTION LMGetScratch20
  4261.     ENDIF
  4262.  
  4263. ;
  4264. ; pascal void LMSetScratch20(const void *scratch20Value)
  4265. ;
  4266.     IF GENERATINGCFM THEN
  4267.         IMPORT_CFM_FUNCTION LMSetScratch20
  4268.     ENDIF
  4269.  
  4270. ;
  4271. ; pascal Ptr LMGetToolScratch(void )
  4272. ;
  4273.     IF GENERATINGCFM THEN
  4274.         IMPORT_CFM_FUNCTION LMGetToolScratch
  4275.     ENDIF
  4276.  
  4277. ;
  4278. ; pascal void LMSetToolScratch(const void *toolScratchValue)
  4279. ;
  4280.     IF GENERATINGCFM THEN
  4281.         IMPORT_CFM_FUNCTION LMSetToolScratch
  4282.     ENDIF
  4283.  
  4284. ;
  4285. ; pascal Ptr LMGetApplScratch(void )
  4286. ;
  4287.     IF GENERATINGCFM THEN
  4288.         IMPORT_CFM_FUNCTION LMGetApplScratch
  4289.     ENDIF
  4290.  
  4291. ;
  4292. ; pascal void LMSetApplScratch(const void *applScratchValue)
  4293. ;
  4294.     IF GENERATINGCFM THEN
  4295.         IMPORT_CFM_FUNCTION LMSetApplScratch
  4296.     ENDIF
  4297.  
  4298. ;
  4299. ;*************************************************************************************
  4300. ;    "INDEXED ACCESSORS"
  4301. ;    
  4302. ;        These lowmem accessors take an index parameter to get/set an indexed
  4303. ;        lowmem global.
  4304. ;*************************************************************************************
  4305. ;
  4306. ;
  4307. ; pascal StringHandle LMGetDAStrings(short whichString)
  4308. ;
  4309.     IF GENERATINGCFM THEN
  4310.         IMPORT_CFM_FUNCTION LMGetDAStrings
  4311.     ENDIF
  4312.  
  4313. ;
  4314. ; pascal void LMSetDAStrings(StringHandle stringsValue, short whichString)
  4315. ;
  4316.     IF GENERATINGCFM THEN
  4317.         IMPORT_CFM_FUNCTION LMSetDAStrings
  4318.     ENDIF
  4319.  
  4320. ;
  4321. ; pascal UniversalProcPtr LMGetLvl2DT(short vectorNumber)
  4322. ;
  4323.     IF GENERATINGCFM THEN
  4324.         IMPORT_CFM_FUNCTION LMGetLvl2DT
  4325.     ENDIF
  4326.  
  4327. ;
  4328. ; pascal void LMSetLvl2DT(UniversalProcPtr Lvl2DTValue, short vectorNumber)
  4329. ;
  4330.     IF GENERATINGCFM THEN
  4331.         IMPORT_CFM_FUNCTION LMSetLvl2DT
  4332.     ENDIF
  4333.  
  4334. ;
  4335. ; pascal UniversalProcPtr LMGetExtStsDT(short vectorNumber)
  4336. ;
  4337.     IF GENERATINGCFM THEN
  4338.         IMPORT_CFM_FUNCTION LMGetExtStsDT
  4339.     ENDIF
  4340.  
  4341. ;
  4342. ; pascal void LMSetExtStsDT(UniversalProcPtr ExtStsDTValue, short vectorNumber)
  4343. ;
  4344.     IF GENERATINGCFM THEN
  4345.         IMPORT_CFM_FUNCTION LMSetExtStsDT
  4346.     ENDIF
  4347.  
  4348.     ENDIF
  4349.     ENDIF
  4350.     ENDIF ; __LOWMEM__ 
  4351.  
  4352.